Re: Possibility of a MinGW version?
From: David Brown <hidden>
Date: 2016-06-15 22:42:15
On Sat, Dec 24, 2005 at 11:24:23AM +0100, Andreas Ericsson wrote:
Sven Verdoolaege wrote:quoted
On Sat, Dec 24, 2005 at 11:09:39AM +0100, Andreas Ericsson wrote:quoted
The worst trouble you're likely to run into is all the hardcoded paths. They are everywhere and ofcourse use the / for path entity separation.AFAIR, '/' is a valid path separator on Windows. It's just command.com (does that still exist?) that insisted on '\\' separators.Are you sure? I've seen lots of porting patches that transliterate those to '\\'. Perhaps those who wrote those patches just took for granted that it was needed, the same as I did.
AFAIK all of the Win32 APIs accept either forward or backward slash as a separator. It has been this way since when they added directories to DOS. What doesn't always accept forward slashes are commandline utilities that are using '/' as an option separator. Most of them these days will accept the '/', at least in many circumstances. Dave