From owner-freebsd-audit Sun Dec 30 4:38:39 2001 Delivered-To: freebsd-audit@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 8C4F337B416 for ; Sun, 30 Dec 2001 04:38:36 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16KfGY-000N5g-00 for audit@FreeBSD.org; Sun, 30 Dec 2001 14:40:38 +0200 From: Sheldon Hearn To: audit@FreeBSD.org Subject: kern/32827: small SO_RCVTIMEO values are taken to be zero Date: Sun, 30 Dec 2001 14:40:38 +0200 Message-ID: <88763.1009716038@axl.seasidesoftware.co.za> 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 folks, Could someone take a look at PR kern/32827, which reports unexpected behaviour from setsockopt(). The PR includes a patch that looks like it does the right thing. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Sun Dec 30 5:24:15 2001 Delivered-To: freebsd-audit@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 5DA2D37B405 for ; Sun, 30 Dec 2001 05:24:13 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16Kfyg-000NJI-00 for audit@FreeBSD.org; Sun, 30 Dec 2001 15:26:14 +0200 From: Sheldon Hearn To: audit@FreeBSD.org Subject: gnu/32902: Incremental tar archiving Date: Sun, 30 Dec 2001 15:26:14 +0200 Message-ID: <89607.1009718774@axl.seasidesoftware.co.za> 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 folks, COuld someone take a look at PR gnu/32902? It reports broken incremental tar archiving and proposes a change that looks sane. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Sun Dec 30 5:39:42 2001 Delivered-To: freebsd-audit@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 3CC5C37B419 for ; Sun, 30 Dec 2001 05:39:38 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16KgDb-000NMY-00 for audit@FreeBSD.org; Sun, 30 Dec 2001 15:41:39 +0200 From: Sheldon Hearn To: audit@FreeBSD.org Subject: bin/32935: /bin/sh builtin echo command Date: Sun, 30 Dec 2001 15:41:39 +0200 Message-ID: <89809.1009719699@axl.seasidesoftware.co.za> 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 folks, Could someone check out PR bin/32935, which contains a patch to fix ash's builtin echo command so that it accepts the -e and -n options combined? Thanks, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message From owner-freebsd-audit Mon Dec 31 0: 6:17 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mta0x15.coxmail.com (cm-fe1.coxmail.com [206.157.225.48]) by hub.freebsd.org (Postfix) with ESMTP id 5363F37B41A; Mon, 31 Dec 2001 00:06:13 -0800 (PST) Received: from enterprise.muriel.penguinpowered.com ([209.249.174.31]) by mta0x15.coxmail.com (InterMail vK.4.03.04.01 201-232-130-101 license c271d808eeaddc9d652e7c0b1383e8cc) with ESMTP id <20011231080553.XZCF848.mta0x15@enterprise.muriel.penguinpowered.com>; Mon, 31 Dec 2001 03:05:53 -0500 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <89809.1009719699@axl.seasidesoftware.co.za> Date: Mon, 31 Dec 2001 03:05:51 -0500 (EST) Reply-To: Mike Heffner From: Mike Heffner To: Sheldon Hearn , freebsd-gnats-submit@freebsd.org Subject: Re: bin/32935: /bin/sh builtin echo command Cc: audit@FreeBSD.ORG 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 On 30-Dec-2001 Sheldon Hearn wrote: | | Hi folks, | | Could someone check out PR bin/32935, which contains a patch to fix | ash's builtin echo command so that it accepts the -e and -n options | combined? | Looks ok, except that I think in the '#define eflag 1' case it should still accept '-ne' as valid and just ignore the 'e'. How about this: Index: echo.c =================================================================== RCS file: /home/ncvs/src/bin/sh/bltin/echo.c,v retrieving revision 1.10 diff -u -r1.10 echo.c --- echo.c 26 Jun 2000 22:43:30 -0000 1.10 +++ echo.c 31 Dec 2001 08:00:09 -0000 @@ -64,16 +64,28 @@ ap = argv; if (argc) ap++; - if ((p = *ap) != NULL) { - if (equal(p, "-n")) { - nflag++; - ap++; - } else if (equal(p, "-e")) { + if ((p = *ap) != NULL && *p == '-') { + ap++; + p++; + do { + if (*p == 'n') + nflag++; + else if (*p == 'e') #ifndef eflag - eflag++; + eflag++; +#else + ; #endif - ap++; - } + else { + nflag = 0; +#ifndef eflag + eflag = 0; +#endif + ap--; + break; + } + } while (*++p != '\0'); + } while ((p = *ap++) != NULL) { while ((c = *p++) != '\0') { Mike -- Mike Heffner Fredericksburg, VA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message