[Mono-devel-list] Handling GetFullPath on Linux
jeroen at sumatra.nl
Mon Nov 22 04:25:04 EST 2004
Jonathan Gilbert wrote:
> >This doesn't make sense. DirectorySeparatorChar and
> >AltDirectorySeparatorChar should both be '/' on Linux.
> >Applications that hardcode a backslash are lame.
> That doesn't stop people from writing them.
Apps that can't even get this simple thing right are unlikely to work on
Linux anyway. If Java taught us anything, it's that
write-once-run-anywhere is doesn't work.
> >> I am not sure what to do about this. Which is more
> >> important, allowing UNIX escapes, or keeping compat?
> >Surely allowing UNIX escapes is more important?
> Aren't escape codes the job of the shell?
Hmm. I didn't know that, but that would make sense. In any case, it
would still be legal to use a backslash in a filename on Linux, by
converting backslashes into slashes, that would be broken.
More information about the Mono-devel-list