From owner-cvs-src@FreeBSD.ORG Mon Apr 30 11:44:42 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 EF74116A406; Mon, 30 Apr 2007 11:44:42 +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 C904E13C4C5; Mon, 30 Apr 2007 11:44:42 +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 l3UBigeU070088; Mon, 30 Apr 2007 11:44:42 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3UBig50070087; Mon, 30 Apr 2007 11:44:42 GMT (envelope-from ache) Message-Id: <200704301144.l3UBig50070087@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Mon, 30 Apr 2007 11:44:42 +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/bin/sh var.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: Mon, 30 Apr 2007 11:44:43 -0000 ache 2007-04-30 11:44:42 UTC FreeBSD src repository Modified files: bin/sh var.c Log: Put some safeguards: 1) Under POSIX unsetenv("foo=bar") is explicit error and not equal to unsetenv("foo") 2) Prepare for upcomig POSIXed putenv() rewrite: make putenv() calls portable and conforming to standard. Revision Changes Path 1.33 +9 -4 src/bin/sh/var.c