From: <vh...@us...> - 2003-09-22 20:24:31
|
> Personally, I wouldn't use it; indeed, I prefer to avoid ALL > Microsoft specific functions and attributes, because I value the > portability achieved by adopting ANSI standard coding practices, and I > want my code to compile seamlessly on both UNIX and Windows. Avoiding microsoft-specific functions and attributes does not make your code portable. With a bit of patience you can compile linux kernel using MinGW, will that make it portable? Rule one: don't assume that all file systems are case sensitive. Rule two: don't assume that all file systems are case insensitive. Portability is not only function names and return values, is it. > You should still remember that the Windows file system is essentially not > POSIX compliant, and should consider file names which differ only in case > mix to refer to the same file; to do otherwise is, IMO, asking for > trouble. Maybe it's not one hundred percent POSIX compliant, but if we speak of case sensitive file names, I don't see any contradiction. It's POSIX enough for that. -- Regards, hex. |