changeset 3635:f90fbcddaa75

[project @ 2000-03-23 10:51:07 by jwe]
author jwe
date Thu, 23 Mar 2000 10:51:08 +0000
parents 68b993aa2020
children 0aeae5fe4ab7
files liboctave/ChangeLog liboctave/lo-sysdep.h src/oct-stream.cc
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-23  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* lo-sysdep.h: octave_chdir returns int, not bool.
+
 2000-03-21  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Makefile.in (liboctave.$(SHLEXT)): Delete target
--- a/liboctave/lo-sysdep.h
+++ b/liboctave/lo-sysdep.h
@@ -29,7 +29,7 @@
 
 extern std::string octave_getcwd (void);
 
-extern bool octave_chdir (const std::string&);
+extern int octave_chdir (const std::string&);
 
 #if ! defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H)
 extern int gethostname (char *, int);
--- a/src/oct-stream.cc
+++ b/src/oct-stream.cc
@@ -44,7 +44,7 @@
 #include "oct-obj.h"
 #include "utils.h"
 
-static std::istream&
+std::istream&
 octave_scan (std::istream& is, const char *fmt, ...)
 {
 #if defined (__GNUG__)