Small bug in src/load-save.cc
Kim Hansen
kimhanse at gmail.com
Tue Dec 4 12:04:30 CST 2007
I can't build octave from cvs
make[2]: Entering directory `/home/kim/octave/build-2007-12-04/src'
making defaults.h from ../../cvs/src/defaults.h.in
defaults.h is unchanged
making oct-conf.h from ../../cvs/src/oct-conf.h.in
oct-conf.h is unchanged
g++ -c -fPIC -I. -I../../cvs/src -I.. -I../liboctave -I../src
-I../libcruft/misc -I../../cvs -I../../cvs/liboctave -I../../cvs/src
-I../../cvs/libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W
-Wshadow -Wold-style-cast -g -O2 builtins.cc -o pic/builtins.o
builtins.cc: In function 'void install_load_save_fcns()':
builtins.cc:347: error: unknown escape sequence: '\040'
make[2]: *** [pic/builtins.o] Error 1
make[2]: Leaving directory `/home/kim/octave/build-2007-12-04/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/kim/octave/build-2007-12-04'
make: *** [all] Error 2
I just found the error:
Index: src/load-save.cc
===================================================================
RCS file: /cvs/octave/src/load-save.cc,v
retrieving revision 1.235
diff -a -u -r1.235 load-save.cc
--- src/load-save.cc 4 Dec 2007 16:51:32 -0000 1.235
+++ src/load-save.cc 4 Dec 2007 18:02:53 -0000
@@ -660,7 +660,7 @@
@deffn {Command} load options file v1 v2 @dots{}\n\
Load the named variables @var{v1}, @var{v2}, @dots{}, from the file\n\
@var{file}. As with @code{save}, you may specify a list of variables\n\
-and @code{load} will only extract\n\ those variables with names that\n\
+and @code{load} will only extract those variables with names that\n\
match. For example, to restore the variables saved in the file\n\
@file{data}, use the command\n\
\n\
--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437 -- Mobil: 3091 2437
More information about the Bug-octave
mailing list