changeset 6184:e96d66e0d634

[project @ 2006-11-21 19:14:14 by jwe]
author jwe
date Tue, 21 Nov 2006 19:14:14 +0000
parents 7a52e59d8136
children da5a11b3d13e
files liboctave/oct-env.cc src/ChangeLog
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/oct-env.cc	Tue Nov 21 18:57:53 2006 +0000
+++ b/liboctave/oct-env.cc	Tue Nov 21 19:14:14 2006 +0000
@@ -400,9 +400,6 @@
 std::string
 octave_env::do_get_user_name (void) const
 {
-  // FIXME -- is it possible for this to change while Octave
-  // is running?
-
   if (user_name.empty ())
     {
       octave_passwd pw = octave_passwd::getpwuid (octave_syscalls::getuid ());
@@ -416,9 +413,6 @@
 std::string
 octave_env::do_get_host_name (void) const
 {
-  // FIXME -- is it possible for this to change while Octave
-  // is running?
-
   if (host_name.empty ())
     {
       char hostname[256];
--- a/src/ChangeLog	Tue Nov 21 18:57:53 2006 +0000
+++ b/src/ChangeLog	Tue Nov 21 19:14:14 2006 +0000
@@ -1,3 +1,11 @@
+2006-11-21  John W. Eaton  <jwe@octave.org>
+
+	* load-path.cc (load_path::do_find_file,
+	load_path::do_find_first_of, load_path::do_find_all_first_of): 
+	Call rooted_pathname instead of absolute_pathname.
+	* utils.cc (fcn_file_in_path, oct_file_in_path, mex_file_in_path):
+	Likewise.
+
 2006-11-16  Michael Goffioul  <michael.goffioul@swing.be>
 
 	* oct-hist.cc (default_history_file): Instead of appending