Cached the current working directory to avoid needless calls to the
authorMark Friedman <edu/mit/csail/zurich/markf>
Tue, 8 Oct 1991 21:46:43 +0000 (21:46 +0000)
committerMark Friedman <edu/mit/csail/zurich/markf>
Tue, 8 Oct 1991 21:46:43 +0000 (21:46 +0000)
commit9e0686be39cdcfc5aea3910f774dd7ad75618f47
tree015922164205175e3d48a8a71d6fa0ad8f5aa95d
parent7485aa5b1d2fa32a3b153e874abeaf846cda344f
Cached the current working directory to avoid needless calls to the
unix getcwd. It is put here, so that the call to get_wd() in options.c
will cause the cache to fill BEFORE the heap and constant spaces get
allocated. This way it is much more likely that the fork that getcwd
tries to do will be successful.
v7/src/microcode/uxenv.c