Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2004 14:42:42 +0200
From:      Andrea Campi <andrea+freebsd_current@webcom.it>
To:        current@freebsd.org, obrien@freebsd.org
Subject:   nitpicking on strlcpy.c
Message-ID:  <20041013124242.GB53717@webcom.it>

next in thread | raw e-mail | index | archive | help
I know, I am being silly...

I just noticed rev 1.4 introduced a buglet in the OpenBSD rcsid:

===================================================================
RCS file: /usr/local/www/cvsroot/FreeBSD/src/lib/libc/string/strlcpy.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- src/lib/libc/string/strlcpy.c	2001/05/24 08:47:41	1.3
+++ src/lib/libc/string/strlcpy.c	2001/11/07 19:55:16	1.4
@@ -28,14 +28,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-#if 0
-static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $";
-#endif
+static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $");
 #endif /* LIBC_SCCS and not lint */
-#ifndef lint
-static const char rcsid[] =
-  "$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/lib/libc/string/strlcpy.c,v 1.3 2001/05/24 08:47:41 obrien Exp $";
-#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/lib/libc/string/strlcpy.c,v 1.4 2001/11/07 19:55:16 obrien Exp $");
 
 #include <sys/types.h>
 #include <string.h>




-- 
               Speak softly and carry a cellular phone.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013124242.GB53717>