summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/modules.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+3
| | | | | | | | | 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)
* unsigned char for ctype. ok deraadtokan2014-01-081-7/+7
|
* printf() -> cvs_printf() so it works under server mode as welljoris2009-03-291-2/+2
| | | | spotted by Jonathan Armani <dbd@asystant.net>
* fix the way Attic is handled in our recursion code, so wejoris2009-03-261-7/+11
| | | | | | | | | | | | | do not skip files or run over them twice. also fixes -l and -r for checkout/update when a file in Attic exists with that tag that in HEAD is a directory in the normal repository like gnu/usr.bin/gcc/INSTALL. as a bonus, we do not run fstat() twice per file or dir anymore... spotted by deraadt@
* switch our file and directory lists to RB trees (see tree(3)),joris2009-03-251-6/+7
| | | | so we can benefit from faster lookup times while recursing.
* Set instead of logically ORing this variable.tobias2008-03-081-2/+2
| | | | ok joris
* allow our parsing functions to stop parsing a config file atjoris2008-03-021-3/+4
| | | | | | any given time. will come in handy for CVSROOT/loginfo and CVSROOT/commitinfo
* plug memleaksjoris2008-02-261-7/+9
| | | | based upon a diff from Igor Zinovik
* lets do co -c as well (list available modules) and do it in 1/6th of thejoris2008-02-061-2/+16
| | | | | | | lines GNU cvs does it in, without actually fucking up on bad lines, like gnucvs. ok tobias@
* Use isblank() instead of partial check for ' ' and/or '\t'. Complies totobias2008-02-061-9/+15
| | | | | | GNU cvs. OK joris.
* CVSROOT/modules:joris2008-02-041-1/+16
| | | | | | | correct -i and -o usage -i runs the program specified on commit -o runs the program specified on checkout
* more CVSROOT/modules stuff:joris2008-02-041-27/+33
| | | | | | | | | | - 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@
* shuffle some stuff around so we dont end up doing the same thingsjoris2008-02-031-9/+3
| | | | | | twice in cvs_module_lookup() and checkout_check_directory(); allow single files to be ignored with ! as well;
* be more strict when checking ignore patterns;joris2008-02-031-4/+10
| | | | kill unused var;
* more CVSROOT/module stuff:joris2008-02-031-5/+59
| | | | | | | | - allow more then 1 module to be specified per definition - respect the "!" sign which means: "hey ignore this dir when checking out" - non alias definitions can now contain files ok tobias@
* better CVSROOT/module support, includes remote support and modulesjoris2008-02-031-5/+39
| | | | | | that are not aliases (-a); OK tobias@
* remove unneeded headersjoris2008-02-021-3/+1
|
* initial CVSROOT/modules support, only does aliases at the moment (-a).joris2008-02-021-0/+111
"modules.c, hurray!" xsa@, ok tobias@