nitpicking on strlcpy.c

From: Andrea Campi <andrea+freebsd_current_at_webcom.it>
Date: Wed, 13 Oct 2004 14:42:42 +0200
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
_at__at_ -28,14 +28,10 _at__at_
  */
 
 #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.
Received on Wed Oct 13 2004 - 10:42:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC