changeset 6086:4278b170b9f9

[project @ 2006-10-25 15:11:40 by jwe]
author jwe
date Wed, 25 Oct 2006 15:11:41 +0000
parents 76e3715e31db
children 700e121edb94
files ChangeLog mkoctfile.in src/ChangeLog src/sysdep.cc
diffstat 4 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 25 12:43:30 2006 +0000
+++ b/ChangeLog	Wed Oct 25 15:11:41 2006 +0000
@@ -1,3 +1,7 @@
+2006-10-25  John W. Eaton  <jwe@octave.org>
+
+	* mkoctfile.in (OCTAVE_VERSION): No need to quote replacement here.
+
 2006-10-24  John W. Eaton  <jwe@octave.org>
 
 	* run-octave.in: Only modify .gdbinit if -g option is given.
--- a/mkoctfile.in	Wed Oct 25 12:43:30 2006 +0000
+++ b/mkoctfile.in	Wed Oct 25 15:11:41 2006 +0000
@@ -7,7 +7,7 @@
 
 set -e
 
-OCTAVE_VERSION="%OCTAVE_CONF_VERSION%"
+OCTAVE_VERSION=%OCTAVE_CONF_VERSION%
 
 # Default values for these variables are filled in when Octave is
 # compiled. 
--- a/src/ChangeLog	Wed Oct 25 12:43:30 2006 +0000
+++ b/src/ChangeLog	Wed Oct 25 15:11:41 2006 +0000
@@ -1,3 +1,8 @@
+2006-10-25  John W. Eaton  <jwe@octave.org>
+
+	* sysdep.cc (w32_set_octave_home): Correctly initialize bin_dir.
+	Fill it with '\0' instead of ' '.
+
 2006-10-24  Michael Goffioul  <michael.goffioul@swing.be>
 
 	* Makefile.in: Filter out $(XTRA_CXXDEFS) from $(ALL_CXXFLAGS) for
--- a/src/sysdep.cc	Wed Oct 25 12:43:30 2006 +0000
+++ b/src/sysdep.cc	Wed Oct 25 15:11:41 2006 +0000
@@ -112,7 +112,7 @@
 #if defined (__WIN32__) && ! defined (_POSIX_VERSION)
   int n = 1024;
 
-  std::string bin_dir (' ', n);
+  std::string bin_dir (n, '\0');
 
   while (true)
     {