From owner-freebsd-bugs@FreeBSD.ORG Mon May 28 05:30:03 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2544916A4D8 for ; Mon, 28 May 2007 05:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 04BBC13C484 for ; Mon, 28 May 2007 05:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4S5U2xi027574 for ; Mon, 28 May 2007 05:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4S5U2LT027573; Mon, 28 May 2007 05:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 28 May 2007 05:30:02 GMT Resent-Message-Id: <200705280530.l4S5U2LT027573@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roman Bogorodskiy Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 992EC16A4CF for ; Mon, 28 May 2007 05:29:38 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 891D113C44C for ; Mon, 28 May 2007 05:29:38 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from freefall.freebsd.org (novel@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4S5TcSC027530 for ; Mon, 28 May 2007 05:29:38 GMT (envelope-from novel@freefall.freebsd.org) Received: (from novel@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4S5Tc5m027529; Mon, 28 May 2007 05:29:38 GMT (envelope-from novel) Message-Id: <200705280529.l4S5Tc5m027529@freefall.freebsd.org> Date: Mon, 28 May 2007 05:29:38 GMT From: Roman Bogorodskiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/113074: [ patch ] ppp(8): include for strcasecmp(3) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 05:30:03 -0000 >Number: 113074 >Category: bin >Synopsis: [ patch ] ppp(8): include for strcasecmp(3) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon May 28 05:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: strcasecmp(3) function moved from string.h to strings.h for IEEE Std 1003.1-2001 (``POSIX.1'') compliance. However, ppp(8) doesn't include strings.h header. It still compiles without warnings because string.h includes strings.h for compatibility, but I think it would be better to include strings.h explicitly. Noted by: Slava Semushin >How-To-Repeat: >Fix: --- ppp_strings.h.diff begins here --- Index: bundle.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/bundle.c,v retrieving revision 1.136 diff -u -r1.136 bundle.c --- bundle.c 29 Nov 2004 17:11:14 -0000 1.136 +++ bundle.c 28 May 2007 05:12:00 -0000 @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include Index: command.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/command.c,v retrieving revision 1.307 diff -u -r1.307 command.c --- command.c 25 May 2007 13:45:48 -0000 1.307 +++ command.c 28 May 2007 05:12:01 -0000 @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include Index: datalink.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/datalink.c,v retrieving revision 1.77 diff -u -r1.77 datalink.c --- datalink.c 11 Oct 2004 09:45:58 -0000 1.77 +++ datalink.c 28 May 2007 05:12:01 -0000 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include Index: defs.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/defs.c,v retrieving revision 1.48 diff -u -r1.48 defs.c --- defs.c 5 Sep 2004 01:46:51 -0000 1.48 +++ defs.c 28 May 2007 05:12:01 -0000 @@ -39,6 +39,7 @@ #include #include #include +#include #if defined(__FreeBSD__) && !defined(NOKLDLOAD) #include #endif Index: filter.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/filter.c,v retrieving revision 1.52 diff -u -r1.52 filter.c --- filter.c 5 Sep 2004 01:46:51 -0000 1.52 +++ filter.c 28 May 2007 05:12:01 -0000 @@ -40,6 +40,7 @@ #include #include #include +#include #include #include "layer.h" Index: ipcp.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/ipcp.c,v retrieving revision 1.123 diff -u -r1.123 ipcp.c --- ipcp.c 27 Jan 2005 14:09:33 -0000 1.123 +++ ipcp.c 28 May 2007 05:12:01 -0000 @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include Index: log.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/log.c,v retrieving revision 1.53 diff -u -r1.53 log.c --- log.c 17 Jul 2004 01:07:52 -0000 1.53 +++ log.c 28 May 2007 05:12:02 -0000 @@ -32,6 +32,7 @@ #include #include #include +#include #include #include Index: mp.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/mp.c,v retrieving revision 1.55 diff -u -r1.55 mp.c --- mp.c 6 Sep 2004 00:07:58 -0000 1.55 +++ mp.c 28 May 2007 05:12:02 -0000 @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include Index: nat_cmd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/nat_cmd.c,v retrieving revision 1.62 diff -u -r1.62 nat_cmd.c --- nat_cmd.c 11 Oct 2004 09:45:58 -0000 1.62 +++ nat_cmd.c 28 May 2007 05:12:02 -0000 @@ -41,6 +41,7 @@ #include #include #include +#include #include #ifdef LOCALNAT Index: physical.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/physical.c,v retrieving revision 1.59 diff -u -r1.59 physical.c --- physical.c 11 Oct 2004 09:45:58 -0000 1.59 +++ physical.c 28 May 2007 05:12:02 -0000 @@ -37,6 +37,7 @@ #include #include #include +#include #include /* TIOCOUTQ */ #include #include Index: radius.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/radius.c,v retrieving revision 1.54 diff -u -r1.54 radius.c --- radius.c 25 May 2007 13:45:49 -0000 1.54 +++ radius.c 28 May 2007 05:12:02 -0000 @@ -55,6 +55,7 @@ #include #include #include +#include #include #include #include Index: systems.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/systems.c,v retrieving revision 1.68 diff -u -r1.68 systems.c --- systems.c 5 Sep 2004 01:46:52 -0000 1.68 +++ systems.c 28 May 2007 05:12:02 -0000 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "defs.h" Index: tcp.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/tcp.c,v retrieving revision 1.19 diff -u -r1.19 tcp.c --- tcp.c 5 Sep 2004 01:46:52 -0000 1.19 +++ tcp.c 28 May 2007 05:12:02 -0000 @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include Index: udp.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/udp.c,v retrieving revision 1.20 diff -u -r1.20 udp.c --- udp.c 5 Sep 2004 01:46:52 -0000 1.20 +++ udp.c 28 May 2007 05:12:02 -0000 @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include --- ppp_strings.h.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: