| Index: src/support/path.C
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/path.C,v
| retrieving revision 1.12
| diff -u -p -r1.12 path.C
| --- src/support/path.C        7 Nov 2004 13:22:51 -0000       1.12
| +++ src/support/path.C        20 Jan 2005 17:30:20 -0000
| @@ -28,8 +28,10 @@ Path::Path(string const & path)
|  {
|       if (!path.empty()) {
|               pushedDir_ = getcwd();
| +#if 0
|               if (pushedDir_.empty() || chdir(path))
|                       /* FIXME: throw */;
| +#endif

It's seems that chdir would have a side-effect, which you are removing now. Are you sure the patch is good?


Add a lyxerr/lyxdebug printing statement, and that would seem like a better fix.

Regards,
Asger

Reply via email to