~arankine/distcc/issue16

Viewing all changes in revision 319.

  • Committer: fergus.henderson
  • Date: 2010-08-19 20:07:45 UTC
  • Revision ID: svn-v4:01de4be4-8c4a-0410-9132-4925637da917:trunk:723

Change directory back to the original server working directory after each
distcc-pump compilation.  This fixes a bug where distcc-pump was changing
to a directory and then deleting that directory and not changing back
to the original directory.  That caused problems when you used a server
first in distcc-pump mode and then in distcc mode, and the compiler
invoked a shell script.  The compilation would succeed, but the shell would
report a confusing warning ("shell-init: error retrieving current directory:
getcwd: cannot access parent directories: No such file or directory").

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: