XSB 2.7.1 can not compile any prolog file, if it is
installed inside a directory where the full path
contains blank(s)/space(s) inside names (like
"C:\program files\XSB" on Windows). The gpp
preprocessor can not be called and gets incorrect
This patch fixes this problem. I added correct quoting
in parse.P and add needed special quoting in
system_xsb.c for Windows. The behaviour of spawnvp on
Windows is a little bit tricky: The program name must
not be quoted, but argv and all other parameters
must be. Otherwise the part of argv after the first
blank is interpreted as first parameter.
Helge Schulz http://OpenSHORE.org
Log in to post a comment.