diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-10 10:15:49 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-10 10:15:49 +0000 |
commit | 168b76b993894427929ff0a7345dc6f4ebdbdda4 (patch) | |
tree | cb505258d1f1b6be4c9db532c5b006e100f20cad /usr.bin/cvs/rcs.c | |
parent | cfc8ba39c7860cf520fe1890cda725a909172026 (diff) |
Damnit, I should avoid this nasty Log word in a comment ...
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 83 |
1 files changed, 29 insertions, 54 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 5dd6c35c296..cde6a54d540 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.235 2008/01/10 09:55:18 tobias Exp $ */ +/* $OpenBSD: rcs.c,v 1.236 2008/01/10 10:15:48 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -3300,59 +3300,7 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines, char *logp, *l_line, *prefix, *q, *sprefix; size_t i; - /* $Log: rcs.c,v $ - /* Revision 1.235 2008/01/10 09:55:18 tobias - /* An empty -k option is invalid - /* - /* Revision 1.234 2008/01/10 09:37:26 tobias - /* RCS files without head keyword mustn't segfault our implementation. Only - /* command that supports such files is "cvs status", therefore properly handle - /* them in all other commands, too. - /* - /* Revision 1.233 2008/01/10 09:35:02 tobias - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword - /* Added support for keyword Revision 1.234 2008/01/10 09:37:26 tobias - /* Added support for keyword RCS files without head keyword mustn't segfault our implementation. Only - /* Added support for keyword command that supports such files is "cvs status", therefore properly handle - /* Added support for keyword them in all other commands, too. - /* Added support for keyword. In order to support $Log: rcs.c,v $ - /* Added support for keyword. In order to support Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword. In order to support An empty -k option is invalid - /* Added support for keyword. In order to support - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword. In order to support Revision 1.234 2008/01/10 09:37:26 tobias - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword. In order to support RCS files without head keyword mustn't segfault our implementation. Only - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword. In order to support command that supports such files is "cvs status", therefore properly handle - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword. In order to support them in all other commands, too. - /* Added support for keyword $Log: rcs.c,v $ - /* Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias - /* Added support for keyword An empty -k option is invalid - /* Added support for keyword. In order to support, new lines have - /* to be added which mustn't be expanded again (this log message for example - /* would loop forever due to $Log: rcs.c,v $ - /* would loop forever due to Revision 1.235 2008/01/10 09:55:18 tobias - /* would loop forever due to An empty -k option is invalid - /* would loop forever due to - /* would loop forever due to Revision 1.234 2008/01/10 09:37:26 tobias - /* would loop forever due to RCS files without head keyword mustn't segfault our implementation. Only - /* would loop forever due to command that supports such files is "cvs status", therefore properly handle - /* would loop forever due to them in all other commands, too. - /* would loop forever due to keywords in it). - /* line */ + /* Log line */ if (!(kwtype & RCS_KW_FULLPATH)) (void)strlcat(expbuf, basename(rcsfile), sizeof(expbuf)); @@ -3437,6 +3385,9 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines, /* * This is just another hairy mess, but it must * be done: All characters behind $Log: rcs.c,v $ + * be done: All characters behind Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind * be done: All characters behind Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind An empty -k option is invalid * be done: All characters behind @@ -3447,6 +3398,9 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines, * be done: All characters behind * be done: All characters behind Revision 1.233 2008/01/10 09:35:02 tobias * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword @@ -3455,31 +3409,52 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines, * be done: All characters behind Added support for keyword command that supports such files is "cvs status", therefore properly handle * be done: All characters behind Added support for keyword them in all other commands, too. * be done: All characters behind Added support for keyword. In order to support $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword. In order to support Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword. In order to support Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword. In order to support * be done: All characters behind Added support for keyword. In order to support Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword. In order to support An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support Revision 1.234 2008/01/10 09:37:26 tobias * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support RCS files without head keyword mustn't segfault our implementation. Only * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support command that supports such files is "cvs status", therefore properly handle * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support them in all other commands, too. * be done: All characters behind Added support for keyword $Log: rcs.c,v $ + * be done: All characters behind Added support for keyword Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind Added support for keyword Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind Added support for keyword * be done: All characters behind Added support for keyword Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind Added support for keyword An empty -k option is invalid * be done: All characters behind Added support for keyword. In order to support, new lines have * be done: All characters behind to be added which mustn't be expanded again (this log message for example * be done: All characters behind would loop forever due to $Log: rcs.c,v $ + * be done: All characters behind would loop forever due to Revision 1.236 2008/01/10 10:15:48 tobias + * be done: All characters behind would loop forever due to Damnit, I should avoid this nasty Log word in a comment ... + * be done: All characters behind would loop forever due to * be done: All characters behind would loop forever due to Revision 1.235 2008/01/10 09:55:18 tobias * be done: All characters behind would loop forever due to An empty -k option is invalid * be done: All characters behind would loop forever due to |