Date: Tue, 7 Feb 1995 07:20:06 +1100 From: Bruce Evans <bde@zeta.org.au> To: joerg_wunsch@uriah.sax.de, phk@ref.tfs.com Cc: CVS-commiters@freefall.cdrom.com, cvs-lib@freefall.cdrom.com Subject: Re: cvs commit: src/lib/libc/gen getcwd.c Message-ID: <199502062020.HAA12179@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> | not true: >> | PWD=X /bin/pwd >> >> Huh? Nope, the whole trick does only work since the shell clobbers >> PWD immediately, so the above won't work. >go read the source OK ???? More on shells not actually exporting $PWD: I guess the benchmark that finds getcwd() slow is stupider that I first thought. It may just test the shell's pwd command, which may be an external command, a builtin using getcwd, or a builtin using $PWD. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502062020.HAA12179>