[merge][#297831] use open/fchdir to save and restore cwd

Martin Pool mbp at canonical.com
Thu Nov 20 04:47:38 GMT 2008


Harry Hirsch points out in
<https://bugs.edge.launchpad.net/bzr/+bug/297831> that we were relying
on a gnu extension (I think) to getcwd, which does not work on SunOS.
This avoids it by using fchdir, and also encloses John's previous fix.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list