[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 34]: sepchar and load_path
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 34]: sepchar and load_path |
Date: |
Tue, 17 Oct 2006 22:10:43 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
The sepchar being ';' under MSVC, this produces errors in path handling
Index: src/load-path.cc
===================================================================
RCS file: /cvs/octave/src/load-path.cc,v
retrieving revision 1.9
diff -p -c -r1.9 load-path.cc
*** src/load-path.cc 31 Aug 2006 02:31:57 -0000 1.9
--- src/load-path.cc 17 Oct 2006 11:07:42 -0000
*************** load_path::do_initialize (void)
*** 375,384 ****
--- 375,391 ----
if (! tpath.empty ())
xpath += dir_path::path_sep_str + tpath;
+ #ifndef _MSC_VER
if (Vsystem_path != ":")
xpath += Vsystem_path;
do_set (xpath + ":::", false);
+ #else
+ if (Vsystem_path != ":")
+ xpath += Vsystem_path.substr(1);
+
+ do_set (xpath, false);
+ #endif
}
void
- MSVC compiler support [patch 30]: Help MSVC with templates, (continued)
- MSVC compiler support [patch 31]: CHAR_BIT, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 31]: CHAR_BIT, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 33]: Help, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 33]: Help, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 34]: sepchar and load_path,
Michael Goffioul <=
- MSVC compiler support [patch 34]: sepchar and load_path, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 35]: default history file, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 35]: default history file, John W. Eaton, 2006/10/25
- Re: MSVC compiler support [patch 35]: default history file, Michael Goffioul, 2006/10/26
- MSVC compiler support [patch 36]: abs of long, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 36]: abs of long, John W. Eaton, 2006/10/27
- Re: MSVC compiler support [patch 36]: abs of long, Michael Goffioul, 2006/10/28
- MSVC compiler support [patch 37]: popen/pclose, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 37]: popen/pclose, John W. Eaton, 2006/10/25
- Re: MSVC compiler support [patch 37]: popen/pclose, Michael Goffioul, 2006/10/26