From owner-cvs-src@FreeBSD.ORG Tue May 1 04:14:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD94616A400; Tue, 1 May 2007 04:14:06 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6239913C44C; Tue, 1 May 2007 04:14:06 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id l4136e5U032706; Mon, 30 Apr 2007 23:06:42 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <20070430184854.GA87050@nagual.pp.ru> References: <200704301656.l3UGuIqf048148@repoman.freebsd.org> <20070430183624.GA73050@tirith.brixandersen.dk> <20070430184854.GA87050@nagual.pp.ru> Date: Mon, 30 Apr 2007 23:06:39 -0400 To: Andrey Chernov , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-RPI-SA-Score: undef - spam scanning disabled X-CanItPRO-Stream: default X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: Subject: Re: cvs commit: src/lib/libc/stdlib getenv.3 getenv.c putenv.c setenv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 04:14:06 -0000 At 10:48 PM +0400 4/30/07, Andrey Chernov wrote: >On Mon, Apr 30, 2007 at 08:36:24PM +0200, Henrik Brix Andersen wrote: > > >> This is the output of the same test on my RELENG_6 box: >> >> $ env -vi foo=bar env >> #env clearing environ >> #env setenv: foo=bar >> #env executing: env >> #env arg[0]= 'env' >> foo=bar > >Thanx for the report, but please be patient a bit, work in the progress >and fix already planned soon. >To the matter: env incorrectly calls setenv("name=...", ...) which is >POSIX violation: > >"The setenv( ) function shall fail if: >[EINVAL] The name argument is a null pointer, points to an empty >string, or points to a string containing an '=' character." I can fix the 'env' command, if you want... (not sure I can get to it tonight, but I'll see) -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA