Searched hist:176521 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/bin/sh/ | ||
H A D | cd.c | diff 176521 Sun Feb 24 14:50:55 MST 2008 stefanf Split updatepwd() into two smaller functions. The first one, findpwd(), computes the new path and the second one, updatepwd(), updates the variables PWD, OLDPWD and the path used for the pwd builtin according to the new directory. For a logical directory change, chdir() is now called between those two functions, no longer causing wrong values to be stored in PWD etc. if it fails. PR: 64990, 101316, 120571 |
Completed in 21 milliseconds