diff liboctave/oct-env.h @ 10250:2d47356a7a1a

use gnulib getcwd module
author John W. Eaton <jwe@octave.org>
date Wed, 03 Feb 2010 03:07:06 -0500
parents 4c0cdbe0acca
children 4a278982c0fe
line wrap: on
line diff
--- a/liboctave/oct-env.h	Tue Feb 02 17:47:23 2010 -0500
+++ b/liboctave/oct-env.h	Wed Feb 03 03:07:06 2010 -0500
@@ -43,10 +43,11 @@
 
   static std::string base_pathname (const std::string& s);
 
-  static std::string make_absolute (const std::string& s,
-				    const std::string& dot_path);
+  static std::string
+  make_absolute (const std::string& s,
+                 const std::string& dot_path = get_current_directory ());
 
-  static std::string getcwd (void);
+  static std::string get_current_directory (void);
 
   static std::string get_home_directory (void);