Revision tags: OPENBSD_6_2_BASE
|
#
1.59 |
|
28-Aug-2017 |
otto |
fix const related warnings; ok millert@
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.58 |
|
13-Oct-2016 |
fcambus |
rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.
OK millert@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.57 |
|
05-Nov-2015 |
nicm |
Remove xfree(), like already done for RCS. From Michael W Bombardieri, ok mmcc
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.56 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.55 |
|
08-Jan-2014 |
okan |
unsigned char for ctype. ok deraadt
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.54 |
|
02-Jul-2012 |
tedu |
simplify rcsnum parsing by using a fixed array without all the realloc ok stsp
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.53 |
|
22-May-2008 |
joris |
correctly deal with non-zero depths specified in rcsnum_cmp();
from Stefan Sperling
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.52 |
|
01-Mar-2008 |
joris |
goodbye rcs_errno - we didnt use you and you wont be missed
|
#
1.51 |
|
09-Feb-2008 |
joris |
- always remove the additional .0 from magic branches, even when running the log command.
- change getlog.c so it will add any .0 for magic branches in its output if required
less confusing for rcs_translate_tag();
|
#
1.50 |
|
31-Jan-2008 |
tobias |
Handle magic branch numbers in OpenCVS as well.
OK joris@
|
#
1.49 |
|
10-Jan-2008 |
tobias |
Slap in -b support for tag command. It was missing for a full regress test as of now.
|
#
1.48 |
|
09-Dec-2007 |
tobias |
Fix for an off-by-one.
OK fgsch@
|
#
1.47 |
|
24-Sep-2007 |
joris |
add support to commit modified files to branches.
|
#
1.46 |
|
04-Sep-2007 |
tobias |
Replaced strlen() with sizeof() - 1 when #define'd strings are used.
OK ray@
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.45 |
|
29-May-2007 |
ray |
Since xrealloc dies on failure it is safe to directly assign to the original pointer. Theo agrees, and so does the rest of the tree (ssh, etc. all do this already).
Saves a bunch of variables and assignments.
OK niallo@
|
#
1.44 |
|
26-May-2007 |
krw |
More comment typos from Diego Casati. Including winners like funtion, allmost, oustside, seqencer, toghether, nessissary, etc.
|
#
1.43 |
|
12-May-2007 |
ray |
Change 0x30 to more readable '0'.
OK xsa@.
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.42 |
|
22-Feb-2007 |
otto |
general includes cleanup sweep. ok joris@ niallo@
|
#
1.41 |
|
21-Feb-2007 |
ray |
Replace a manual xrealloc with rcsnum_setsize.
From Charles Longeau <chl at tuxfamily dot org>.
OK joris@.
|
#
1.40 |
|
13-Nov-2006 |
xsa |
Check strlcpy/strlcat return values; from usr.bin/rcs/rcsnum.c
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.39 |
|
27-Jul-2006 |
ray |
Pull in improper memory allocation from RCS:
> Not were we allocating memory for a pointer array, it wasn't even for > the right variable! Fixes make regress with MALLOC_OPTIONS=PR. > > Found by and fix worked on with Joris.
|
#
1.38 |
|
31-May-2006 |
joris |
be smarter when comparing 2 revisions to each other.
|
#
1.37 |
|
27-May-2006 |
joris |
commit the new opencvs code, i have been hacking on this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out.
this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do!
basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
|
#
1.36 |
|
14-Apr-2006 |
niallo |
- swap a hack for a slightly nicer hack using a global variable. this avoids adding a really nasty hack to make some upcoming rlog fixes from joris work.
ok joris@
|
#
1.35 |
|
14-Apr-2006 |
deraadt |
spacing
|
#
1.34 |
|
14-Apr-2006 |
deraadt |
remove a metric buttload of excessive () no binary change; ok ray
|
#
1.33 |
|
06-Apr-2006 |
xsa |
rcsnum_setsize() will never return non-zero; change its return type to void.
|
#
1.32 |
|
05-Apr-2006 |
ray |
Use variable names for sizeof, remove casts in front of xmalloc, use xcalloc and xstrdup where appropriate, and other stuff.
OK joris@
|
#
1.31 |
|
30-Mar-2006 |
joris |
first part of supporting branches in openrcs. right now we can only check them out. commit is not working yet, but will be soon.
tested by myself and ray@ okay ray@
|
#
1.30 |
|
30-Mar-2006 |
ray |
- Comment fixes. - int rcsnum_cpy() -> void rcsnum_cpy(). - Check for overflow in rcsnum_cpy().
OK niallo@
|
#
1.29 |
|
28-Mar-2006 |
ray |
Today is Integer Overflow Prevention Day: - Sync xmalloc.? with ssh versions. - Change all xrealloc() calls to new API.
``I really like this.'' niallo@
|
#
1.28 |
|
18-Mar-2006 |
ray |
Change code to match comments, fixing potential off-by-one error. According to the comments, the lowest number should be 1.
not okay, then okay niallo@
|
#
1.27 |
|
15-Mar-2006 |
deraadt |
remove some bizzare idioms; ok ray
|
#
1.26 |
|
11-Mar-2006 |
niallo |
- implement GNU-compatible handling of revisions specified as single digits. e.g. ci -l4 or ci -u5 will work like GNU now.
ok joris@
|
#
1.25 |
|
11-Mar-2006 |
ray |
Fix rcsnum_tostr() description.
ok joris
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.24 |
|
28-Jan-2006 |
niallo |
- don't segfault on rcsnum overflow.
ok joris@
|
#
1.23 |
|
03-Jan-2006 |
xsa |
knf;
|
#
1.22 |
|
02-Jan-2006 |
xsa |
#include's cleanup; ok joris@ niallo@.
|
#
1.21 |
|
30-Dec-2005 |
reyk |
knf
|
#
1.20 |
|
27-Dec-2005 |
niallo |
- optimise rcsnum_tostr(). we call this function a LOT and using multiple snprintf()s in it is SLOW.
second of a few important performance improvements.
ok joris@
|
#
1.19 |
|
12-Dec-2005 |
joris |
rcsnum_alloc() and rcsnum_cpy() no longer can fail, so don't bother checking return values for failure.
ok xsa@
|
#
1.18 |
|
10-Dec-2005 |
joris |
switch to xmalloc stuff, me and xsa@ agreed on this a long time ago, but we were being held back by jfb. too bad for him.
next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again.
ok niallo@ and xsa@
|
#
1.17 |
|
10-Oct-2005 |
joris |
add rcsnum_dec() api call, decreases a revision number by one. ok niallo@
|
#
1.16 |
|
19-Sep-2005 |
niallo |
Add preprocessor directives needed for usr.bin/rcs programs to compile.
ok joris@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.15 |
|
02-Aug-2005 |
joris |
handle magic branch numbers.
ok xsa@, jfb@
|
#
1.14 |
|
25-Jul-2005 |
xsa |
KNF;
|
#
1.13 |
|
25-Jul-2005 |
xsa |
KNF;
|
#
1.12 |
|
31-May-2005 |
xsa |
headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;
|
#
1.11 |
|
26-May-2005 |
jfb |
add a couple of functions to go from branch numbers to revisions and vice versa, and fix RCSNUM_ISBRANCH()
|
#
1.10 |
|
13-Apr-2005 |
jfb |
make rcsnum_tostr() return an empty string if the RCSNUM is NULL
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.9 |
|
05-Mar-2005 |
jfb |
add RCS error codes and a global variable to hold the last error and make the code less verbose at the same time
|
#
1.8 |
|
25-Feb-2005 |
jfb |
- switch to rcsnum_parse() where appropriate - make rcsnum_parse() fail if it encounters an invalid character
|
#
1.7 |
|
25-Feb-2005 |
jfb |
add rcsnum_parse() to simplify the most common case
|
#
1.6 |
|
03-Jan-2005 |
jfb |
limit the maximum length of RCS numbers to 64 nums and avoid potential integer overflow in case of ridiculously large RCSNUMs
|
#
1.5 |
|
10-Dec-2004 |
jfb |
proper typecast to get rid of another warning
|
#
1.4 |
|
07-Dec-2004 |
tedu |
less whitespace, more pretty. ok jfb
|
#
1.3 |
|
29-Jul-2004 |
jfb |
Do not error out when calling rcsnum_aton() on the string "0", which is a valid RCSNUM
|
#
1.2 |
|
14-Jul-2004 |
vincent |
fix memleak on rcsnum reuse initialize new members to 0
|
#
1.1 |
|
13-Jul-2004 |
jfb |
branches: 1.1.1; Initial revision
|