From owner-freebsd-audit Mon Nov 18 11:42: 4 2002 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50B3337B401 for ; Mon, 18 Nov 2002 11:42:01 -0800 (PST) Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D436F43E4A for ; Mon, 18 Nov 2002 11:41:58 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o1075.telia.com (d1o1075.telia.com [213.67.243.241]) by maile.telia.com (8.12.5/8.12.5) with ESMTP id gAIJfucT022612 for ; Mon, 18 Nov 2002 20:41:56 +0100 (CET) X-Original-Recipient: Received: from ludd.luth.se (h75n1fls22o1075.telia.com [217.209.40.75]) by d1o1075.telia.com (8.10.2/8.10.1) with ESMTP id gAIJfts22350 for ; Mon, 18 Nov 2002 20:41:56 +0100 (CET) Message-ID: <3DD94354.5040506@ludd.luth.se> Date: Mon, 18 Nov 2002 20:45:24 +0100 From: =?ISO-8859-1?Q?Joachim_Str=F6mbergson?= Organization: =?ISO-8859-1?Q?Str=F6mbergson_Intergalactic_AB?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020830 X-Accept-Language: en-US MIME-Version: 1.0 To: FreeBSD-Audit Subject: Removal of includes of strings.h Content-Type: multipart/mixed; boundary="------------020700070409020704070601" Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------020700070409020704070601 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Aloha! Strings.h in FreeBSD is simply defined as: #include Applications should instead use string.h directly. This was fixed in dd. I submitted a similar patch för rusers in June. I have been in contact with Giorgos and he suggested that I should submit similar patches for other programs to FreeBSD-Audit. This mail contains the rusers patch (again) and patches for mount_nfs and ncplogin. All patches are against STABLE. Comments? Commits? -- Med vänlig hälsning, Cheers! Joachim Strömbergson ============================================================================ Joachim Strömbergson - ASIC designer, nice to *cute* animals. snail: phone: mail & web: Sävenäsgatan 5A +46 31 - 27 98 47 watchman@ludd.luth.se 416 72 Göteborg +46 733 75 97 02 www.ludd.luth.se/~watchman ============================================================================ --------------020700070409020704070601 Content-Type: text/plain; name="mount_nfs.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mount_nfs.diff" --- /usr/src/sbin/mount_nfs/mount_nfs.c Wed Aug 14 11:57:20 2002 +++ mount_nfs.c Fri Nov 15 08:25:44 2002 @@ -75,7 +75,7 @@ #include #include #include -#include +#include #include #include --------------020700070409020704070601 Content-Type: text/plain; name="ncplogin.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ncplogin.diff" --- /usr/src/usr.bin/ncplogin/ncplogin.c Sun Oct 31 03:14:59 1999 +++ ncplogin.c Fri Nov 15 08:21:23 2002 @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include --------------020700070409020704070601 Content-Type: text/plain; name="rusers.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rusers.diff" --- /usr/src/usr.bin/rusers/rusers.c Wed Jul 4 22:20:31 2001 +++ rusers.c Fri Nov 15 08:23:19 2002 @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #define MAX_INT 0x7fffffff --------------020700070409020704070601-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message