From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 12:42:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B14A116A4CE; Wed, 13 Oct 2004 12:42:43 +0000 (GMT) Received: from acampi.inet.it (acampi.inet.it [213.92.1.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C7043D53; Wed, 13 Oct 2004 12:42:43 +0000 (GMT) (envelope-from andrea@acampi.inet.it) Received: by acampi.inet.it (Postfix, from userid 1000) id B13B623; Wed, 13 Oct 2004 14:42:42 +0200 (CEST) Date: Wed, 13 Oct 2004 14:42:42 +0200 From: Andrea Campi To: current@freebsd.org, obrien@freebsd.org Message-ID: <20041013124242.GB53717@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: nitpicking on strlcpy.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 12:42:43 -0000 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 +__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 #include -- Speak softly and carry a cellular phone.