diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-27 21:59:25 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-27 21:59:25 +0000 |
commit | f77db63be93a804bf077bfd2e47e64fed8f73e9f (patch) | |
tree | 9f9d8f1d51bd866e5cbda63d5ae10c3ef4bf363f /usr.bin | |
parent | 3b624192af55e4a76b8d46c2bb3bff594dd5c34b (diff) | |
download | FreeBSD-src-f77db63be93a804bf077bfd2e47e64fed8f73e9f.zip FreeBSD-src-f77db63be93a804bf077bfd2e47e64fed8f73e9f.tar.gz |
Remove code which overrode the opinion of getcwd() with an often bogus
value for $PWD.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 4094276..c3608f3 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -396,12 +396,6 @@ main(argc, argv) exit(2); } - if ((pwd = getenv("PWD")) != NULL) { - if (stat(pwd, &sb) == 0 && sa.st_ino == sb.st_ino && - sa.st_dev == sb.st_dev) - (void) strcpy(curdir, pwd); - } - /* * Get the name of this type of MACHINE from utsname * so we can share an executable for similar machines. |