diff liboctave/file-ops.cc @ 10250:2d47356a7a1a

use gnulib getcwd module
author John W. Eaton <jwe@octave.org>
date Wed, 03 Feb 2010 03:07:06 -0500
parents 025564630c8d
children 2fcc927a8757
line wrap: on
line diff
--- a/liboctave/file-ops.cc	Tue Feb 02 17:47:23 2010 -0500
+++ b/liboctave/file-ops.cc	Wed Feb 03 03:07:06 2010 -0500
@@ -403,8 +403,7 @@
   // relative names into absolute ones, so prepend the working
   // directory if the path is not absolute.
 
-  std::string absolute_name
-    = octave_env::make_absolute (name, octave_env::getcwd ());
+  std::string absolute_name = octave_env::make_absolute (name);
 
   size_t resolved_size = absolute_name.length ();