[cfe-dev] Broken "not" and platform file paths
Csaba Raduly
rcsaba at gmail.com
Wed Mar 16 02:26:07 PDT 2011
Hi John,
On Wed, Mar 16, 2011 at 12:43 AM, John Thompson wrote:
> I'm trying to figure out why a bunch of tests are failing on Windows, and
> the first thing I see is that the "not" program from utils/not reports that
> the path given to it is not executable, which is because of forward slashes
> in the Path object passed around, which nearly every Windows call that takes
> a path will choke on.
That is not quite true. The Windows _API_ can cope just fine with
forward slashes. It is cmd.exe which uses forward slashes for options
and therefore requires backslashes in the paths.
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
More information about the cfe-dev
mailing list