From owner-freebsd-audit Sun Nov 17 4:22:36 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 E6EB937B401; Sun, 17 Nov 2002 04:22:21 -0800 (PST) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DEF543E3B; Sun, 17 Nov 2002 04:22:21 -0800 (PST) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) by numeri.campus.luth.se (8.12.6/8.12.6) with ESMTP id gAHCMD4q021532; Sun, 17 Nov 2002 13:22:13 +0100 (CET) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.12.6/8.12.6/Submit) id gAHCMB47021531; Sun, 17 Nov 2002 13:22:11 +0100 (CET) Date: Sun, 17 Nov 2002 13:22:10 +0100 From: Johan Karlsson To: freebsd-audit@freebsd.org Cc: Sheldon Hearn , ken@freebsd.org Subject: removing print format warnings using PRIu64 from inttypes.h Message-ID: <20021117122210.GB746@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline User-Agent: Mutt/1.4i 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 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi I'm trying to remove warnings from sbin/* and among other warnings there are print format warnigs on alpha/sparc64. cc -O -pipe -g -mcpu=ev4 -mtune=ev5 -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/camcontrol/camcontrol.c /usr/src/sbin/camcontrol/camcontrol.c: In function `scsiformat': /usr/src/sbin/camcontrol/camcontrol.c:3082: warning: long long int format, u_int64_t arg (arg 3) /usr/src/sbin/camcontrol/camcontrol.c:3082: warning: long long int format, u_int64_t arg (arg 4) cc -O -pipe -g -mcpu=ev4 -mtune=ev5 -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/camcontrol/util.c /usr/src/sbin/camcontrol/util.c: In function `arg_put': /usr/src/sbin/camcontrol/util.c:119: warning: int format, different type arg (arg 2) In rev 1.14 of src/usr.bin/find/ls.c obrien used PRId64 from (included from to get rid of similar warnings. I have attached a patch for sbin/camcontrol, please have a look at it and let me know it this is the correct way to write the code. Does anyone know if PRId64 et al is documented somewhere? /Johan -- Johan Karlsson mailto:johan@FreeBSD.org --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="camcontrol.diff" Index: sbin/camcontrol/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/camcontrol/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- sbin/camcontrol/Makefile 24 Jan 2002 16:53:08 -0000 1.11 +++ sbin/camcontrol/Makefile 10 Nov 2002 14:28:43 -0000 @@ -9,7 +9,6 @@ .else CFLAGS+= -DMINIMALISTIC .endif -WARNS= 0 DPADD= ${LIBCAM} ${LIBSBUF} LDADD= -lcam -lsbuf MAN= camcontrol.8 Index: sbin/camcontrol/camcontrol.c =================================================================== RCS file: /home/ncvs/src/sbin/camcontrol/camcontrol.c,v retrieving revision 1.47 diff -u -r1.47 camcontrol.c --- sbin/camcontrol/camcontrol.c 8 Sep 2002 05:39:36 -0000 1.47 +++ sbin/camcontrol/camcontrol.c 10 Nov 2002 14:28:43 -0000 @@ -30,6 +30,8 @@ #include #include + +#include #include #include #include @@ -3075,7 +3077,8 @@ percentage = 10000 * val; fprintf(stdout, - "\rFormatting: %qd.%02qd %% " + "\rFormatting: " + "%"PRIu64".%02"PRIu64" %% " "(%d/%d) done", percentage / (0x10000 * 100), (percentage / 0x10000) % 100, Index: sbin/camcontrol/modeedit.c =================================================================== RCS file: /home/ncvs/src/sbin/camcontrol/modeedit.c,v retrieving revision 1.11 diff -u -r1.11 modeedit.c --- sbin/camcontrol/modeedit.c 30 May 2002 21:38:58 -0000 1.11 +++ sbin/camcontrol/modeedit.c 10 Nov 2002 14:28:43 -0000 @@ -641,7 +641,7 @@ char *line; /* Pointer to static fgetln buffer. */ char *name; /* Name portion of the line buffer. */ char *value; /* Value portion of line buffer. */ - int length; /* Length of static fgetln buffer. */ + size_t length; /* Length of static fgetln buffer. */ #define ABORT_READ(message, param) do { \ warnx(message, param); \ Index: sbin/camcontrol/util.c =================================================================== RCS file: /home/ncvs/src/sbin/camcontrol/util.c,v retrieving revision 1.7 diff -u -r1.7 util.c --- sbin/camcontrol/util.c 1 Dec 2000 12:01:35 -0000 1.7 +++ sbin/camcontrol/util.c 10 Nov 2002 14:28:43 -0000 @@ -48,10 +48,12 @@ "$FreeBSD: src/sbin/camcontrol/util.c,v 1.7 2000/12/01 12:01:35 jedgar Exp $"; #endif /* not lint */ +#include + +#include #include #include #include -#include #include #include "camcontrol.h" @@ -116,7 +118,7 @@ { case 'i': case 'b': - printf("%d ", (intptr_t)arg); + printf("%"PRIdPTR" ", (intptr_t)arg); break; case 'c': --4bRzO86E/ozDv8r1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Nov 18 11: 0:14 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 56DE837B48B for ; Mon, 18 Nov 2002 11:00:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF7F043E9C for ; Mon, 18 Nov 2002 11:00:06 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIJ06x3076211 for ; Mon, 18 Nov 2002 11:00:06 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIJ06T5076209 for audit@freebsd.org; Mon, 18 Nov 2002 11:00:06 -0800 (PST) Date: Mon, 18 Nov 2002 11:00:06 -0800 (PST) Message-Id: <200211181900.gAIJ06T5076209@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: audit@FreeBSD.org Subject: Current problem reports assigned to you 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Nov 18 11: 7:17 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 41FF937B406 for ; Mon, 18 Nov 2002 11:07:16 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225F143E97 for ; Mon, 18 Nov 2002 11:07:14 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIJ7Ex3085097 for ; Mon, 18 Nov 2002 11:07:14 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIJ7DOb085092 for audit@freebsd.org; Mon, 18 Nov 2002 11:07:13 -0800 (PST) Date: Mon, 18 Nov 2002 11:07:13 -0800 (PST) Message-Id: <200211181907.gAIJ7DOb085092@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: audit@FreeBSD.org Subject: Current problem reports assigned to you 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 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1999/01/28] bin/9770 audit An openpty(3) auxiliary program 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message 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 From owner-freebsd-audit Mon Nov 18 12:44:19 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 B320D37B401 for ; Mon, 18 Nov 2002 12:44:16 -0800 (PST) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE49843E6E for ; Mon, 18 Nov 2002 12:44:13 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o1075.telia.com (d1o1075.telia.com [213.67.243.241]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id gAIKiC9k016041 for ; Mon, 18 Nov 2002 21:44:12 +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 gAIKiBs14767 for ; Mon, 18 Nov 2002 21:44:11 +0100 (CET) Message-ID: <3DD951EC.5020904@ludd.luth.se> Date: Mon, 18 Nov 2002 21:47:40 +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 Cc: FreeBSD-Audit Subject: Removal of includes of strings.h (REVISED) References: <3DD94354.5040506@ludd.luth.se> Content-Type: multipart/mixed; boundary="------------080902090607000902030407" 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. --------------080902090607000902030407 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Aloha! Naturally, the patches had the wrong paths. This mail includes fixed patches. -- 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 ============================================================================ --------------080902090607000902030407 Content-Type: text/plain; name="mount_nfs.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mount_nfs.c" --- /usr/src/sbin/mount_nfs/mount_nfs.c Wed Aug 14 11:57:20 2002 +++ /usr/src/sbin/mount_nfs/mount_nfs.c Fri Nov 15 08:25:44 2002 @@ -75,7 +75,7 @@ #include #include #include -#include +#include #include #include --------------080902090607000902030407 Content-Type: text/plain; name="ncplogin.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ncplogin.c" --- /usr/src/usr.bin/ncplogin/ncplogin.c Sun Oct 31 03:14:59 1999 +++ /usr/src/usr.bin/ncplogin/ncplogin.c Fri Nov 15 08:21:23 2002 @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include --------------080902090607000902030407 Content-Type: text/plain; name="rusers.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rusers.c" --- /usr/src/usr.bin/rusers/rusers.c Wed Jul 4 22:20:31 2001 +++ /usr/src/usr.bin/rusers/rusers.c Fri Nov 15 08:23:19 2002 @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #define MAX_INT 0x7fffffff --------------080902090607000902030407-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Nov 18 12:46:18 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 8772A37B401 for ; Mon, 18 Nov 2002 12:46:14 -0800 (PST) Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098E243E42 for ; Mon, 18 Nov 2002 12:46:13 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o1075.telia.com (d1o1075.telia.com [213.67.243.241]) by mailg.telia.com (8.12.5/8.12.5) with ESMTP id gAIKkAvO027319 for ; Mon, 18 Nov 2002 21:46:11 +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 gAIKk9s15743 for ; Mon, 18 Nov 2002 21:46:09 +0100 (CET) Message-ID: <3DD95262.1080104@ludd.luth.se> Date: Mon, 18 Nov 2002 21:49:38 +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 Cc: FreeBSD-Audit Subject: Removal of includes of strings.h (Addtional patches) References: <3DD94354.5040506@ludd.luth.se> Content-Type: multipart/mixed; boundary="------------040308070407000500010603" 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. --------------040308070407000500010603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Aloha! This mail contains additional strings.h-patches. -- 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 ============================================================================ --------------040308070407000500010603 Content-Type: text/plain; name="arp.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="arp.c" --- /usr/src/usr.sbin/arp/arp.c Fri Jun 21 09:21:37 2002 +++ /usr/src/usr.sbin/arp/arp.c Mon Nov 18 21:00:21 2002 @@ -79,7 +79,7 @@ #include #include #include -#include +#include #include void search(u_long addr, void (*action)(struct sockaddr_dl *sdl, --------------040308070407000500010603 Content-Type: text/plain; name="cmds.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cmds.c" --- /usr/src/usr.sbin/timed/timedc/cmds.c Thu Sep 6 20:48:10 2001 +++ /usr/src/usr.sbin/timed/timedc/cmds.c Mon Nov 18 21:14:16 2002 @@ -48,7 +48,7 @@ #include #include -#include +#include #include #define TSPTYPES --------------040308070407000500010603 Content-Type: text/plain; name="fdformat.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fdformat.c" --- /usr/src/usr.sbin/fdformat/fdformat.c Thu Jul 19 22:07:49 2001 +++ /usr/src/usr.sbin/fdformat/fdformat.c Mon Nov 18 21:06:49 2002 @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include --------------040308070407000500010603 Content-Type: text/plain; name="fdwrite.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fdwrite.c" --- /usr/src/usr.sbin/fdwrite/fdwrite.c Thu Jul 19 22:07:49 2001 +++ /usr/src/usr.sbin/fdwrite/fdwrite.c Mon Nov 18 21:08:59 2002 @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include --------------040308070407000500010603 Content-Type: text/plain; name="isdnd.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="isdnd.h" --- /usr/src/usr.sbin/i4b/isdnd/isdnd.h Thu Apr 25 21:17:33 2002 +++ /usr/src/usr.sbin/i4b/isdnd/isdnd.h Mon Nov 18 21:02:46 2002 @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include --------------040308070407000500010603 Content-Type: text/plain; name="new_curse.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="new_curse.c" --- /usr/src/usr.bin/ee/new_curse.c Thu Jun 14 06:38:57 2001 +++ /usr/src/usr.bin/ee/new_curse.c Mon Nov 18 20:50:11 2002 @@ -53,7 +53,7 @@ #ifdef SYS5 #include #else -#include +#include #endif #ifdef BSD_SELECT --------------040308070407000500010603 Content-Type: text/plain; name="nfsd.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nfsd.c" --- /usr/src/sbin/nfsd/nfsd.c Sun Sep 17 21:17:58 2000 +++ /usr/src/sbin/nfsd/nfsd.c Mon Nov 18 21:34:51 2002 @@ -74,7 +74,7 @@ #include #include #include -#include +#include #include /* Global defs */ --------------040308070407000500010603 Content-Type: text/plain; name="timedc.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="timedc.c" --- /usr/src/usr.sbin/timed/timedc/timedc.c Sat Aug 28 03:20:21 1999 +++ /usr/src/usr.sbin/timed/timedc/timedc.c Mon Nov 18 21:29:04 2002 @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include --------------040308070407000500010603-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Wed Nov 20 14:13:42 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 3657D37B401 for ; Wed, 20 Nov 2002 14:13:40 -0800 (PST) Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53EDE43E42 for ; Wed, 20 Nov 2002 14:13:36 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o1075.telia.com (d1o1075.telia.com [213.67.243.241]) by mailg.telia.com (8.12.5/8.12.5) with ESMTP id gAKMDXlM024908 for ; Wed, 20 Nov 2002 23:13:33 +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 gAKMDWs24292 for ; Wed, 20 Nov 2002 23:13:32 +0100 (CET) Message-ID: <3DDC09EF.8090205@ludd.luth.se> Date: Wed, 20 Nov 2002 23:17:19 +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: More strings.h fixes: slattach, pax and dd Content-Type: multipart/mixed; boundary="------------010801020306030003080300" 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. --------------010801020306030003080300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Aloha! Three more to fixes are included with this mail. These ones are for slattach, dd and pax. All against STABLE. -- 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 ============================================================================ --------------010801020306030003080300 Content-Type: text/plain; name="misc.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="misc.c" --- /usr/src/bin/dd/misc.c Sat Aug 4 18:46:02 2001 +++ /usr/src/bin/dd/misc.c Wed Nov 20 23:07:10 2002 @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include #include "dd.h" --------------010801020306030003080300 Content-Type: text/plain; name="sel_subs.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sel_subs.c" --- /usr/src/bin/pax/sel_subs.c Sat Aug 4 18:46:05 2001 +++ /usr/src/bin/pax/sel_subs.c Wed Nov 20 23:11:49 2002 @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include "pax.h" --------------010801020306030003080300 Content-Type: text/plain; name="slattach.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="slattach.c" --- /usr/src/sbin/slattach/slattach.c Sat Aug 28 02:14:25 1999 +++ /usr/src/sbin/slattach/slattach.c Wed Nov 20 22:15:18 2002 @@ -59,7 +59,7 @@ #include #include #include -#include +#include #include #include #include --------------010801020306030003080300-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Fri Nov 22 0:46:25 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 607DA37B401 for ; Fri, 22 Nov 2002 00:46:24 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 026DC43EA3 for ; Fri, 22 Nov 2002 00:46:23 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gAM8kBn15688 for ; Fri, 22 Nov 2002 09:46:11 +0100 (MET) Date: Fri, 22 Nov 2002 09:46:11 +0100 (CET) From: Harti Brandt To: freebsd-audit@freebsd.org Subject: Re: kern/32827: small SO_RCVTIMEO values are taken to be zero Message-ID: <20021122094351.D40230-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, could someone please have a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/32827 so that it can be committed? regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message