From owner-cvs-all@FreeBSD.ORG Mon Apr 30 02:25:02 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEB9B16A403; Mon, 30 Apr 2007 02:25:02 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9D95713C44C; Mon, 30 Apr 2007 02:25:02 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3U2P2wP036237; Mon, 30 Apr 2007 02:25:02 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3U2P2n2036236; Mon, 30 Apr 2007 02:25:02 GMT (envelope-from ache) Message-Id: <200704300225.l3U2P2n2036236@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Mon, 30 Apr 2007 02:25:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/stdlib getenv.3 getenv.c putenv.c setenv.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 02:25:02 -0000 ache 2007-04-30 02:25:02 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.3 getenv.c putenv.c setenv.c Log: Make setenv, putenv, getenv and unsetenv conforming to Open Group specs Issue 6 (also IEEE Std 1003.1-2001) in following areas: args, return, errors. Putenv still needs rewriting because specs explicitly says that altering passed string later should change the environment (currently we copy the string so can't provide that). Revision Changes Path 1.21 +23 -9 src/lib/libc/stdlib/getenv.3 1.6 +5 -5 src/lib/libc/stdlib/getenv.c 1.4 +6 -2 src/lib/libc/stdlib/putenv.c 1.11 +14 -3 src/lib/libc/stdlib/setenv.c