From owner-cvs-all Thu Jan 27 8:12:12 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BDCDC14E4A; Thu, 27 Jan 2000 08:12:05 -0800 (PST) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA35112; Thu, 27 Jan 2000 08:12:05 -0800 (PST) (envelope-from ru@FreeBSD.org) Message-Id: <200001271612.IAA35112@freefall.freebsd.org> From: Ruslan Ermilov Date: Thu, 27 Jan 2000 08:12:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib setenv.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk ru 2000/01/27 08:12:04 PST Modified files: lib/libc/stdlib setenv.c Log: o Back out rev 1.4 - reallocf() failure clobbers existing `environ'. o Do not override `environ' if realloc() fails, leave it intact. o Set `alloced' only when memory is actually allocated. PR: bin/5604 (2nd part) Reviewed by: bde Revision Changes Path 1.5 +8 -3 src/lib/libc/stdlib/setenv.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message