CVS commit: src/usr.bin/ctags

2010-05-14 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 14 16:48:36 UTC 2010

Modified Files:
src/usr.bin/ctags: ctags.1

Log Message:
Reorder to canonical order.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/ctags/ctags.1

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

Modified files:

Index: src/usr.bin/ctags/ctags.1
diff -u src/usr.bin/ctags/ctags.1:1.15 src/usr.bin/ctags/ctags.1:1.16
--- src/usr.bin/ctags/ctags.1:1.15	Thu Aug  7 11:13:30 2003
+++ src/usr.bin/ctags/ctags.1	Fri May 14 16:48:36 2010
@@ -1,4 +1,4 @@
-.\	$NetBSD: ctags.1,v 1.15 2003/08/07 11:13:30 agc Exp $
+.\	$NetBSD: ctags.1,v 1.16 2010/05/14 16:48:36 joerg Exp $
 .\
 .\ Copyright (c) 1987, 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -171,15 +171,15 @@
 .Ar yylex
 is the start of
 the second section of the lex file.
-.Sh EXIT STATUS
-.Nm
-exits with a value of 1 if an error occurred, 0 otherwise.
-Duplicate objects are not considered errors.
 .Sh FILES
 .Bl -tag -width tags -compact
 .It Pa tags
 default output tags file
 .El
+.Sh EXIT STATUS
+.Nm
+exits with a value of 1 if an error occurred, 0 otherwise.
+Duplicate objects are not considered errors.
 .Sh SEE ALSO
 .Xr ex 1 ,
 .Xr vi 1



CVS commit: src/usr.bin/ctags

2009-04-11 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Apr 11 12:58:03 UTC 2009

Modified Files:
src/usr.bin/ctags: C.c

Log Message:
fix -Wsign-compare issue


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/ctags/C.c

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

Modified files:

Index: src/usr.bin/ctags/C.c
diff -u src/usr.bin/ctags/C.c:1.17 src/usr.bin/ctags/C.c:1.18
--- src/usr.bin/ctags/C.c:1.17	Fri Mar 27 21:48:26 2009
+++ src/usr.bin/ctags/C.c	Sat Apr 11 12:58:03 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: C.c,v 1.17 2009/03/27 21:48:26 christos Exp $	*/
+/*	$NetBSD: C.c,v 1.18 2009/04/11 12:58:03 lukem Exp $	*/
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -38,11 +38,12 @@
 #if 0
 static char sccsid[] = @(#)C.c	8.4 (Berkeley) 4/2/94;
 #else
-__RCSID($NetBSD: C.c,v 1.17 2009/03/27 21:48:26 christos Exp $);
+__RCSID($NetBSD: C.c,v 1.18 2009/04/11 12:58:03 lukem Exp $);
 #endif
 #endif /* not lint */
 
 #include limits.h
+#include stddef.h
 #include stdio.h
 #include string.h
 
@@ -323,7 +324,7 @@
 		} else {
 			if (intoken(c)) {
 if (anext - maybe_attribute 
-  sizeof attribute - 1)
+  (ptrdiff_t)(sizeof attribute - 1))
 	*anext++ = c;
 else	break;
 continue;