History log of /openbsd-current/usr.bin/cvs/config.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 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.16 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_4_3_BASE 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 OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.15 02-Mar-2008 joris

allow our parsing functions to stop parsing a config file at
any given time.

will come in handy for CVSROOT/loginfo and CVSROOT/commitinfo


# 1.14 04-Feb-2008 joris

more CVSROOT/modules stuff:

- support for -i flag:
Run "prog" on "cvs commit" from top-level of module.
- fix some memory leaks in modules.c
- pass the line number from cvs_read_config() towards the callbacks
so its easier to print out where it's going wrong, if it ever does.

OK tobias@


# 1.13 01-Feb-2008 joris

introduce cvs_read_config() which will be used as a general
handler to open and read configuration files in CVSROOT/

change cvs_parse_configfile() to use cvs_read_config() instead;

ok tobias@


# 1.12 09-Nov-2007 tobias

An umask is octet not decimal. This means we cannot use strtonum() to
parse it due to base 10. Instead strtol() with base 8 must be used.


# 1.11 18-Oct-2007 tobias

Avoid memory leak if tag is defined multiple times in CVSROOT/config.

OK ray@, xsa@


Revision tags: OPENBSD_4_2_BASE
# 1.10 12-Jul-2007 xsa

Do not fatal() if the CVSROOT/config file does not exist.
Matches GNU's behaviour. OK ray@.


Revision tags: OPENBSD_4_1_BASE
# 1.9 22-Feb-2007 otto

general includes cleanup sweep. ok joris@ niallo@


# 1.8 17-Feb-2007 xsa

cvs_path_cat() removal since we can now easily handle that
functionality w/ xsnprintf(); Initial diff started by thib@.
OK thib@ joris@.


# 1.7 25-Jan-2007 otto

do not use strlcpuy on a buffer filled by fgetln, since fgetln does
not NUL-terminate. ok xsa@


# 1.6 07-Dec-2006 xsa

add config file path in debug message.


# 1.5 04-Dec-2006 xsa

snprintf() -> cvs_path_cat()


Revision tags: OPENBSD_4_0_BASE
# 1.4 16-Jun-2006 joris

in preparation for the new remote code, proto.h becomes obsolete.


# 1.3 28-May-2006 joris

teach opencvs about the dlimit keyword in CVSROOT/config.
put some trace messages in place while im here.


# 1.2 27-May-2006 joris

handle comments and leading spaces correctly
in CVSROOT/config


# 1.1 27-May-2006 joris

basic support for CVSROOT/config - only supporting the 'tag' and
'umask' keyword right now.