From 6ccaf050cc62bc9d81ac3acb71ce640739caa0f7 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 1 May 2007 16:02:44 +0000 Subject: Back out all POSIXified *env() changes. Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs. --- usr.bin/du/du.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/du') diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 459a451..00c1f5e 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -140,16 +140,16 @@ main(int argc, char *argv[]) cflag = 1; break; case 'h': - putenv(strdup("BLOCKSIZE=512")); + putenv("BLOCKSIZE=512"); hflag = 1; break; case 'k': hflag = 0; - putenv(strdup("BLOCKSIZE=1024")); + putenv("BLOCKSIZE=1024"); break; case 'm': hflag = 0; - putenv(strdup("BLOCKSIZE=1048576")); + putenv("BLOCKSIZE=1048576"); break; case 'n': nodumpflag = 1; -- cgit v1.1