Date: Thu, 27 Jun 1996 14:53:52 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Scott Blachowicz <scott@statsci.com> Cc: current@FreeBSD.org Subject: Re: Building inside of /usr/src? Message-ID: <7251.835912432@time.cdrom.com> In-Reply-To: Your message of "Thu, 27 Jun 1996 13:44:09 PDT." <m0uZNv8-00060AC@main.statsci.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> (totum)(root) # cd /usr/src/lib/libc > (totum)(root) # unsetenv PWD > (totum)(root) # make cleandir > (totum)(root) # make obj > /usr/obj/a/src/lib/libc created for /a/src/lib/libc AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Ahem. Sorry, I feel better now! :-) Check this out in make: 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); } Anyone else think that this is totally bogus and should be removed? It certainly EXPLAINS a few things! :-) With all the shells in existance out there, I don't think that $PWD should or can be trusted. Comments? Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7251.835912432>