3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
8 * Full author contact details are available in file CREDITS.
13 // Needed to prevent the definition of the unnamed_Path macro in the header file.
26 Path::Path(string const & path)
30 pushedDir_ = getcwd();
31 if (pushedDir_.empty() || chdir(path))
48 // should throw an exception
49 // throw logical_error();
53 if (chdir(pushedDir_)) {
54 // should throw an exception
55 // throw DirChangeError();
62 } // namespace support