summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/config.c
AgeCommit message (Collapse)Author
2008-03-02allow our parsing functions to stop parsing a config file atJoris Vink
any given time. will come in handy for CVSROOT/loginfo and CVSROOT/commitinfo
2008-02-04more CVSROOT/modules stuff:Joris Vink
- 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@
2008-02-01introduce cvs_read_config() which will be used as a generalJoris Vink
handler to open and read configuration files in CVSROOT/ change cvs_parse_configfile() to use cvs_read_config() instead; ok tobias@
2007-11-09An umask is octet not decimal. This means we cannot use strtonum() toTobias Stoeckmann
parse it due to base 10. Instead strtol() with base 8 must be used.
2007-10-18Avoid memory leak if tag is defined multiple times in CVSROOT/config.Tobias Stoeckmann
OK ray@, xsa@
2007-07-12Do not fatal() if the CVSROOT/config file does not exist.Xavier Santolaria
Matches GNU's behaviour. OK ray@.
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
2007-01-25do not use strlcpuy on a buffer filled by fgetln, since fgetln doesOtto Moerbeek
not NUL-terminate. ok xsa@
2006-12-07add config file path in debug message.Xavier Santolaria
2006-12-04snprintf() -> cvs_path_cat()Xavier Santolaria
2006-06-16in preparation for the new remote code, proto.h becomes obsolete.Joris Vink
2006-05-28teach opencvs about the dlimit keyword in CVSROOT/config.Joris Vink
put some trace messages in place while im here.
2006-05-27handle comments and leading spaces correctlyJoris Vink
in CVSROOT/config
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.