| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failing to fdopen() it as readable. It doesn't need to pass in the fd at
all, so just change it to pass -1 which makes cvs init work again.
In fact, the fd should never need to be writable - it is only used for
reading. RCS_WRITE triggers a rewrite on the file on rcs_close() but
this is done by using a temporary and rename(2) (RCS_WRITE is a poor
name for the flag). So while here, add a couple of comments to hopefully
make it a little clearer. There is some confusion about how this is used
in other places but checking those is a separate issue.
with and ok tobias
|
|
|
|
|
|
| |
cvs/rcs.
OK xsa zinovik
|
|
|
|
| |
from the stone ages.
|
|
|
|
|
|
|
| |
- Empty brackets forbidden in C99.
- ? : and skipping middle argument is both disallowed and considered bad
programming habit.
OK ray@, xsa@.
|
|
|
|
| |
ok joris
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.
OK joris@
> Inspired by a diff from Igor Zinovik about unchecked return value.
|
| |
|
|
|
|
|
| |
functionality w/ xsnprintf(); Initial diff started by thib@.
OK thib@ joris@.
|
|
|
|
| |
OK joris@.
|
| |
|
|
|
|
| |
we had with the rcs changes;
|
|
|
|
|
|
|
| |
do not connect to the remote server until we are sure all the options
passed to the commands are valid.
noticed by xsa@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
tested aanriot@ joris@; Ok joris@.
|
| |
|
|
|
|
|
|
|
| |
fields to hook local versions of the commands. This needs to go in
before it gets any bigger
ok joris
|
| |
|
|
|
|
|
|
| |
what exactly went wrong in case of an error.
ok jfb@
|
| |
|
|
|
|
|
|
| |
eliminates a lot of duplicate code.
ok jfb@
|
|
|
|
| |
explicit call to rcs_write(), it is not needed anymore
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make it possible to specify creation and the file mode
in rcs_open()
- implicitly write the contents to disk on rcs_close() if the
RCS handle has been changed
- fix a bug in the output of the `expand' keyword
- add functions to retrieve and modify the expansion mode
- rcs_parse() shouldn't be available to the outside
- empty string instead of `(null)' if there is no description
ok Joris
|
|
|
|
|
| |
a valid CVSROOT, and abort with the appropriate error message
otherwise. Fixes a core dump spotted by jmc@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|