CVS commit: src/gnu/usr.bin/rcs

2012-03-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar  8 21:32:28 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h rcssyn.c
src/gnu/usr.bin/rcs/rlog: rlog.1 rlog.c

Log Message:
Teach rcs about the new cvs commitid keyword, so that we don't bitch each
time we play with an RCS file maintained by CVS.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/gnu/usr.bin/rcs/lib/rcsbase.h
cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/lib/rcssyn.c
cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rlog/rlog.1
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rlog/rlog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/rcs/lib/rcsbase.h
diff -u src/gnu/usr.bin/rcs/lib/rcsbase.h:1.12 src/gnu/usr.bin/rcs/lib/rcsbase.h:1.13
--- src/gnu/usr.bin/rcs/lib/rcsbase.h:1.12	Thu Jan 12 09:10:56 2012
+++ src/gnu/usr.bin/rcs/lib/rcsbase.h	Thu Mar  8 16:32:28 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcsbase.h,v 1.12 2012/01/12 14:10:56 joerg Exp $	*/
+/*	$NetBSD: rcsbase.h,v 1.13 2012/03/08 21:32:28 christos Exp $	*/
 
 /* RCS common definitions and data structures */
 
@@ -33,6 +33,10 @@ Report problems and direct all questions
 
 /*
  * $Log: rcsbase.h,v $
+ * Revision 1.13  2012/03/08 21:32:28  christos
+ * Teach rcs about the new cvs commitid keyword, so that we don't bitch each
+ * time we play with an RCS file maintained by CVS.
+ *
  * Revision 1.12  2012/01/12 14:10:56  joerg
  * Second try to sort out the dangling elses. Just use {} markers.
  * Produces identical on amd64.
@@ -383,6 +387,7 @@ struct hshentry {
 	char const	  * lockedby; /* who locks the revision		*/
 	char const	  * state;/* state of revision (Exp by default) */
 	char const	  * name; /* name (if any) by which retrieved   */
+	char const	  * commitid; /* unique commit identifier   */
 	struct cbuf	log;  /* log message requested at checkin   */
 struct branchhead * branches; /* list of first revisions on branches*/
 	struct cbuf	ig;	  /* ignored phrases in admin part	*/

Index: src/gnu/usr.bin/rcs/lib/rcssyn.c
diff -u src/gnu/usr.bin/rcs/lib/rcssyn.c:1.4 src/gnu/usr.bin/rcs/lib/rcssyn.c:1.5
--- src/gnu/usr.bin/rcs/lib/rcssyn.c:1.4	Tue Oct 15 03:00:26 1996
+++ src/gnu/usr.bin/rcs/lib/rcssyn.c	Thu Mar  8 16:32:28 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcssyn.c,v 1.4 1996/10/15 07:00:26 veego Exp $	*/
+/*	$NetBSD: rcssyn.c,v 1.5 2012/03/08 21:32:28 christos Exp $	*/
 
 /* RCS file syntactic analysis */
 
@@ -39,6 +39,10 @@ Report problems and direct all questions
 
 /*
  * $Log: rcssyn.c,v $
+ * Revision 1.5  2012/03/08 21:32:28  christos
+ * Teach rcs about the new cvs commitid keyword, so that we don't bitch each
+ * time we play with an RCS file maintained by CVS.
+ *
  * Revision 1.4  1996/10/15 07:00:26  veego
  * Merge rcs 5.7.
  *
@@ -176,6 +180,7 @@ char const
 	Kauthor[]   = author,
 	Kbranch[]   = branch,
 	Kcomment[]  = comment,
+	Kcommitid[] = commitid,
 	Kdate[] = date,
 	Kdesc[] = desc,
 	Kexpand[]   = expand,
@@ -435,6 +440,17 @@ getdelta()
 	getkey(Knext);
 	Delta-next = num = getdnum();
 	getsemi(Knext);
+	if (getkeyopt(Kcommitid)) {
+	if (nexttok == ID) {
+		Delta-commitid = NextString;
+		nextlex();
+	} else {
+		fatserror(missing %s, Kcommitid);
+		Delta-commitid = NULL;
+	}
+	getsemi(Kcommitid);
+	} else
+	Delta-commitid = NULL;
 	Delta-lockedby = 0;
 	Delta-log.string = 0;
 	Delta-selector = true;

Index: src/gnu/usr.bin/rcs/rlog/rlog.1
diff -u src/gnu/usr.bin/rcs/rlog/rlog.1:1.5 src/gnu/usr.bin/rcs/rlog/rlog.1:1.6
--- src/gnu/usr.bin/rcs/rlog/rlog.1:1.5	Thu Feb  7 20:26:52 2002
+++ src/gnu/usr.bin/rcs/rlog/rlog.1	Thu Mar  8 16:32:28 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: rlog.1,v 1.5 2002/02/08 01:26:52 ross Exp $
+.\	$NetBSD: rlog.1,v 1.6 2012/03/08 21:32:28 christos Exp $
 .\
 .de Id
 .ds Rv \\$3
@@ -48,6 +48,8 @@ The options below restrict this output.
 .ds n \nn
 .if \n(.g .if r an-tag-sep .ds n \w'\f3\-V\fP\f2n\fP'u+\n[an-tag-sep]u
 .TP \*n
+.B \-c
+Print the commitid if available.
 .B \-L
 Ignore \*r files that have no locks set.
 This is convenient in combination with

Index: src/gnu/usr.bin/rcs/rlog/rlog.c
diff -u src/gnu/usr.bin/rcs/rlog/rlog.c:1.6 src/gnu/usr.bin/rcs/rlog/rlog.c:1.7
--- src/gnu/usr.bin/rcs/rlog/rlog.c:1.6	Fri Jan  6 10:16:03 2012
+++ src/gnu/usr.bin/rcs/rlog/rlog.c	Thu Mar  8 16:32:28 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rlog.c,v 1.6 2012/01/06 15:16:03 joerg Exp $	*/
+/*	$NetBSD: rlog.c,v 1.7 2012/03/08 21:32:28 christos Exp $	*/
 
 /* Print log messages and other information about RCS files.  */
 
@@ -31,6 +31,10 @@ Report problems and direct all questions
 
 /*
  * $Log: rlog.c,v $
+ * Revision 1.7  2012/03/08 21:32:28  christos
+ * Teach rcs about the new cvs commitid keyword, so that we don't bitch each
+ * time we play with an RCS file maintained by CVS.
+ *
  * Revision 1.6  2012/01/06 15:16:03  

CVS commit: src/gnu/usr.bin/rcs

2012-03-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar  8 21:32:28 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h rcssyn.c
src/gnu/usr.bin/rcs/rlog: rlog.1 rlog.c

Log Message:
Teach rcs about the new cvs commitid keyword, so that we don't bitch each
time we play with an RCS file maintained by CVS.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/gnu/usr.bin/rcs/lib/rcsbase.h
cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/lib/rcssyn.c
cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rlog/rlog.1
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rlog/rlog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/usr.bin/rcs/lib

2012-01-12 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jan 12 14:10:56 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h

Log Message:
Second try to sort out the dangling elses. Just use {} markers.
Produces identical on amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/gnu/usr.bin/rcs/lib/rcsbase.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/rcs/lib/rcsbase.h
diff -u src/gnu/usr.bin/rcs/lib/rcsbase.h:1.11 src/gnu/usr.bin/rcs/lib/rcsbase.h:1.12
--- src/gnu/usr.bin/rcs/lib/rcsbase.h:1.11	Sun Jan  8 13:57:31 2012
+++ src/gnu/usr.bin/rcs/lib/rcsbase.h	Thu Jan 12 14:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcsbase.h,v 1.11 2012/01/08 13:57:31 tron Exp $	*/
+/*	$NetBSD: rcsbase.h,v 1.12 2012/01/12 14:10:56 joerg Exp $	*/
 
 /* RCS common definitions and data structures */
 
@@ -33,6 +33,10 @@ Report problems and direct all questions
 
 /*
  * $Log: rcsbase.h,v $
+ * Revision 1.12  2012/01/12 14:10:56  joerg
+ * Second try to sort out the dangling elses. Just use {} markers.
+ * Produces identical on amd64.
+ *
  * Revision 1.11  2012/01/08 13:57:31  tron
  * Revert last change. The extra while loop intruced by the macro changes
  * causes an end-less loop in ci(1) which uses break inside one of the
@@ -291,14 +295,14 @@ Report problems and direct all questions
 #	if maps_memory
 #		define declarecache register Iptr_type ptr, lim
 #		define setupcache(f) (lim = (f)-lim)
-#		define Igeteof_(f,c,s) if ((f)-ptr==(f)-lim) s else (c)= *(f)-ptr++;
-#		define cachegeteof_(c,s) if (ptr==lim) s else (c)= *ptr++;
+#		define Igeteof_(f,c,s) { if ((f)-ptr==(f)-lim) s else (c)= *(f)-ptr++; }
+#		define cachegeteof_(c,s) { if (ptr==lim) s else (c)= *ptr++; }
 #	else
 		int Igetmore P((RILE*));
 #		define declarecache register Iptr_type ptr; register RILE *rRILE
 #		define setupcache(f) (rRILE = (f))
-#		define Igeteof_(f,c,s) if ((f)-ptr==(f)-readlim  !Igetmore(f)) s else (c)= *(f)-ptr++;
-#		define cachegeteof_(c,s) if (ptr==rRILE-readlim  !Igetmore(rRILE)) s else (c)= *ptr++;
+#		define Igeteof_(f,c,s) { if ((f)-ptr==(f)-readlim  !Igetmore(f)) s else (c)= *(f)-ptr++; }
+#		define cachegeteof_(c,s) { if (ptr==rRILE-readlim  !Igetmore(rRILE)) s else (c)= *ptr++; }
 #	endif
 #	define uncache(f) ((f)-ptr = ptr)
 #	define cache(f) (ptr = (f)-ptr)



CVS commit: src/gnu/usr.bin/rcs/lib

2012-01-12 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jan 12 14:10:56 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h

Log Message:
Second try to sort out the dangling elses. Just use {} markers.
Produces identical on amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/gnu/usr.bin/rcs/lib/rcsbase.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/usr.bin/rcs/lib

2012-01-08 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sun Jan  8 13:57:31 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h

Log Message:
Revert last change. The extra while loop intruced by the macro changes
causes an end-less loop in ci(1) which uses break inside one of the
macros.

/etc/security will now no longer fill up / (or /var depending on
file-system layout).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/gnu/usr.bin/rcs/lib/rcsbase.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/rcs/lib/rcsbase.h
diff -u src/gnu/usr.bin/rcs/lib/rcsbase.h:1.10 src/gnu/usr.bin/rcs/lib/rcsbase.h:1.11
--- src/gnu/usr.bin/rcs/lib/rcsbase.h:1.10	Fri Jan  6 15:16:03 2012
+++ src/gnu/usr.bin/rcs/lib/rcsbase.h	Sun Jan  8 13:57:31 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcsbase.h,v 1.10 2012/01/06 15:16:03 joerg Exp $	*/
+/*	$NetBSD: rcsbase.h,v 1.11 2012/01/08 13:57:31 tron Exp $	*/
 
 /* RCS common definitions and data structures */
 
@@ -33,8 +33,13 @@ Report problems and direct all questions
 
 /*
  * $Log: rcsbase.h,v $
- * Revision 1.10  2012/01/06 15:16:03  joerg
- * Don't use dangling elses.
+ * Revision 1.11  2012/01/08 13:57:31  tron
+ * Revert last change. The extra while loop intruced by the macro changes
+ * causes an end-less loop in ci(1) which uses break inside one of the
+ * macros.
+ *
+ * /etc/security will now no longer fill up / (or /var depending on
+ * file-system layout).
  *
  * Revision 1.9  1998/09/14 18:36:07  tv
  * Increase keylength to 32, inspired by pr...@newn.cam.ac.uk in PR
@@ -286,14 +291,14 @@ Report problems and direct all questions
 #	if maps_memory
 #		define declarecache register Iptr_type ptr, lim
 #		define setupcache(f) (lim = (f)-lim)
-#		define Igeteof_(f,c,s) do { if ((f)-ptr==(f)-lim) s else (c)= *(f)-ptr++; } while(0);
-#		define cachegeteof_(c,s) do { if (ptr==lim) s else (c)= *ptr++; } while(0);
+#		define Igeteof_(f,c,s) if ((f)-ptr==(f)-lim) s else (c)= *(f)-ptr++;
+#		define cachegeteof_(c,s) if (ptr==lim) s else (c)= *ptr++;
 #	else
 		int Igetmore P((RILE*));
 #		define declarecache register Iptr_type ptr; register RILE *rRILE
 #		define setupcache(f) (rRILE = (f))
-#		define Igeteof_(f,c,s) do { if ((f)-ptr==(f)-readlim  !Igetmore(f)) s else (c)= *(f)-ptr++; } while (0);
-#		define cachegeteof_(c,s) do { if (ptr==rRILE-readlim  !Igetmore(rRILE)) s else (c)= *ptr++; } } while (0);
+#		define Igeteof_(f,c,s) if ((f)-ptr==(f)-readlim  !Igetmore(f)) s else (c)= *(f)-ptr++;
+#		define cachegeteof_(c,s) if (ptr==rRILE-readlim  !Igetmore(rRILE)) s else (c)= *ptr++;
 #	endif
 #	define uncache(f) ((f)-ptr = ptr)
 #	define cache(f) (ptr = (f)-ptr)



CVS commit: src/gnu/usr.bin/rcs/lib

2012-01-08 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sun Jan  8 13:57:31 UTC 2012

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsbase.h

Log Message:
Revert last change. The extra while loop intruced by the macro changes
causes an end-less loop in ci(1) which uses break inside one of the
macros.

/etc/security will now no longer fill up / (or /var depending on
file-system layout).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/gnu/usr.bin/rcs/lib/rcsbase.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/usr.bin/rcs/lib

2011-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 15 14:31:13 UTC 2011

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsedit.c

Log Message:
register c - int c


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/rcs/lib/rcsedit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/rcs/lib/rcsedit.c
diff -u src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8 src/gnu/usr.bin/rcs/lib/rcsedit.c:1.9
--- src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8	Tue Mar 25 08:56:38 1997
+++ src/gnu/usr.bin/rcs/lib/rcsedit.c	Sun May 15 10:31:13 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcsedit.c,v 1.8 1997/03/25 13:56:38 lukem Exp $	*/
+/*	$NetBSD: rcsedit.c,v 1.9 2011/05/15 14:31:13 christos Exp $	*/
 
 /* RCS stream editor */
 
@@ -38,6 +38,9 @@
 
 /*
  * $Log: rcsedit.c,v $
+ * Revision 1.9  2011/05/15 14:31:13  christos
+ * register c - int c
+ *
  * Revision 1.8  1997/03/25 13:56:38  lukem
  * Add #define has_mkstemp 1 (which needs #define has_mktemp 1),
  * and hack to use mkstemp() instead of mktemp(). This *does* cause the
@@ -633,7 +636,7 @@
  * editline is incremented by the number of lines copied.
  * Assumption: next character read is first string character.
  */
-{	register c;
+{	int c;
 	declarecache;
 	register FILE *frew, *fcop;
 	register int amidline;
@@ -878,7 +881,7 @@
  * 2 if a complete line is copied; adds 1 to yield if expansion occurred.
  */
 {
-	register c;
+	int c;
 	declarecache;
 	register FILE *out, *frew;
 	register char * tp;



CVS commit: src/gnu/usr.bin/rcs

2011-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 15 14:33:13 UTC 2011

Modified Files:
src/gnu/usr.bin/rcs/lib: rcslex.c
src/gnu/usr.bin/rcs/rcs: rcs.c
src/gnu/usr.bin/rcs/rcsdiff: rcsdiff.c
src/gnu/usr.bin/rcs/rlog: rlog.c

Log Message:
register c - int c


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/lib/rcslex.c
cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rcs/rcs.c
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c
cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/rlog/rlog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/usr.bin/rcs/lib/rcslex.c
diff -u src/gnu/usr.bin/rcs/lib/rcslex.c:1.6 src/gnu/usr.bin/rcs/lib/rcslex.c:1.7
--- src/gnu/usr.bin/rcs/lib/rcslex.c:1.6	Fri Feb 20 04:27:19 1998
+++ src/gnu/usr.bin/rcs/lib/rcslex.c	Sun May 15 10:33:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcslex.c,v 1.6 1998/02/20 09:27:19 mycroft Exp $	*/
+/*	$NetBSD: rcslex.c,v 1.7 2011/05/15 14:33:12 christos Exp $	*/
 
 /* lexical analysis of RCS files */
 
@@ -42,6 +42,9 @@
 
 /*
  * $Log: rcslex.c,v $
+ * Revision 1.7  2011/05/15 14:33:12  christos
+ * register c - int c
+ *
  * Revision 1.6  1998/02/20 09:27:19  mycroft
  * Fill in missing (default) mmap(2) flags.
  *
@@ -314,7 +317,7 @@
  * For ID's and NUM's, NextString is set to the character string.
  * Assumption: nextc contains the next character.
  */
-{   register c;
+{   int c;
 	declarecache;
 	register FILE *frew;
 register char * sp;
@@ -679,7 +682,7 @@
 /* skip over characters until terminating single SDELIM*/
 /* If foutptr is set, copy every character read to foutptr.*/
 /* Does not advance nextlex at the end.*/
-{   register c;
+{   int c;
 	declarecache;
 	register FILE *frew;
 	register RILE *fin;
@@ -712,7 +715,7 @@
  * Does not advance nextlex at the end.
  */
 {
-register c;
+int c;
 	declarecache;
 	register FILE *fout;
 	register RILE *fin;
@@ -750,7 +753,7 @@
  * Yield a copy of *TARGET, except with exact length.
  */
 {
-register c;
+int c;
 	declarecache;
 	register FILE *frew;
 	register char *tp;

Index: src/gnu/usr.bin/rcs/rcs/rcs.c
diff -u src/gnu/usr.bin/rcs/rcs/rcs.c:1.5 src/gnu/usr.bin/rcs/rcs/rcs.c:1.6
--- src/gnu/usr.bin/rcs/rcs/rcs.c:1.5	Sun Mar 26 17:35:07 2006
+++ src/gnu/usr.bin/rcs/rcs/rcs.c	Sun May 15 10:33:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcs.c,v 1.5 2006/03/26 22:35:07 christos Exp $	*/
+/*	$NetBSD: rcs.c,v 1.6 2011/05/15 14:33:12 christos Exp $	*/
 
 /* Change RCS file attributes.  */
 
@@ -31,6 +31,9 @@
 
 /*
  * $Log: rcs.c,v $
+ * Revision 1.6  2011/05/15 14:33:12  christos
+ * register c - int c
+ *
  * Revision 1.5  2006/03/26 22:35:07  christos
  * Coverity CID 927: Check for NULL before de-referencing.
  *
@@ -736,8 +739,8 @@
 
 
 {
-register c;
-	register char *sp;
+int c;
+	char *sp;
 
 	sp = opt;
 	while ((c = *++sp) == ' ' || c == '\n' || c == '\t' || c == ',')
@@ -796,7 +799,7 @@
 {
 	char const *temp;
 struct  Status  *pt;
-registerc;
+int c;
 
 	while ((c = *++sp) ==' ' || c == '\t' || c == '\n')
 	continue;

Index: src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c
diff -u src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.6 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.7
--- src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.6	Fri Nov  6 17:02:35 2009
+++ src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c	Sun May 15 10:33:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rcsdiff.c,v 1.6 2009/11/06 22:02:35 enami Exp $	*/
+/*	$NetBSD: rcsdiff.c,v 1.7 2011/05/15 14:33:12 christos Exp $	*/
 
 /* Compare RCS revisions.  */
 
@@ -31,6 +31,9 @@
 
 /*
  * $Log: rcsdiff.c,v $
+ * Revision 1.7  2011/05/15 14:33:12  christos
+ * register c - int c
+ *
  * Revision 1.6  2009/11/06 22:02:35  enami
  * Accept -U num.  Nowadays, diff(1) rejects -u0 etc by default.
  *
@@ -190,7 +193,7 @@
 struct hshentry * target;
 char *a, *dcp, **newargv;
 int no_diff_means_no_output;
-register c;
+int c;
 
 exitstatus = DIFF_SUCCESS;
 

Index: src/gnu/usr.bin/rcs/rlog/rlog.c
diff -u src/gnu/usr.bin/rcs/rlog/rlog.c:1.4 src/gnu/usr.bin/rcs/rlog/rlog.c:1.5
--- src/gnu/usr.bin/rcs/rlog/rlog.c:1.4	Tue Oct 15 03:00:50 1996
+++ src/gnu/usr.bin/rcs/rlog/rlog.c	Sun May 15 10:33:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rlog.c,v 1.4 1996/10/15 07:00:50 veego Exp $	*/
+/*	$NetBSD: rlog.c,v 1.5 2011/05/15 14:33:12 christos Exp $	*/
 
 /* Print log messages and other information about RCS files.  */
 
@@ -31,6 +31,9 @@
 
 /*
  * $Log: rlog.c,v $
+ * Revision 1.5  2011/05/15 14:33:12  christos
+ * register c - int c
+ *
  * Revision 1.4  1996/10/15 07:00:50  veego
  * Merge rcs 5.7.
  *
@@ -776,7 +779,7 @@
 /*  and store in authorlist   */
 
 {
-registerc;
+intc;
 struct authors  * newauthor;
 

CVS commit: src/gnu/usr.bin/rcs/lib

2011-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 15 14:31:13 UTC 2011

Modified Files:
src/gnu/usr.bin/rcs/lib: rcsedit.c

Log Message:
register c - int c


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/rcs/lib/rcsedit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/usr.bin/rcs

2011-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 15 14:33:13 UTC 2011

Modified Files:
src/gnu/usr.bin/rcs/lib: rcslex.c
src/gnu/usr.bin/rcs/rcs: rcs.c
src/gnu/usr.bin/rcs/rcsdiff: rcsdiff.c
src/gnu/usr.bin/rcs/rlog: rlog.c

Log Message:
register c - int c


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/lib/rcslex.c
cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rcs/rcs.c
cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c
cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/rlog/rlog.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.