OpenBSD CVS

CVS log for src/usr.bin/cvs/config.c


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 5 09:48:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.16: +3 -6 lines
Diff to previous 1.16 (colored)

Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:07 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

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 1.15 / (download) - annotate - [select for diffs], Sun Mar 2 11:58:45 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.14: +7 -4 lines
Diff to previous 1.14 (colored)

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

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

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 4 19:08:32 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

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@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 1 18:10:26 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.12: +59 -52 lines
Diff to previous 1.12 (colored)

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@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 9 16:03:25 2007 UTC (16 years, 6 months ago) by tobias
Branch: MAIN
Changes since 1.11: +11 -6 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 18 12:13:20 2007 UTC (16 years, 7 months ago) by tobias
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

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

OK ray@, xsa@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 12 17:54:58 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 22 06:42:09 2007 UTC (17 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 17 18:23:43 2007 UTC (17 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 25 08:21:08 2007 UTC (17 years, 3 months ago) by otto
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 7 08:43:12 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

add config file path in debug message.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 4 09:51:21 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.4: +4 -6 lines
Diff to previous 1.4 (colored)

snprintf() -> cvs_path_cat()

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 16 14:07:42 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 28 15:45:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.2: +14 -1 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 27 21:10:53 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.1: +13 -3 lines
Diff to previous 1.1 (colored)

handle comments and leading spaces correctly
in CVSROOT/config

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 27 18:04:46 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.