* Keith MARSHALL wrote on Tue, Jan 23, 2007 at 05:50:24PM CET: > Ralf Wildenhues wrote: > > > defined (__OS2__) > > # define HAVE_DOS_BASED_FILE_SYSTEM > > # ifndef DIR_SEPARATOR_2 > > # define DIR_SEPARATOR_2 '\\' > > # endif > > # ifndef PATH_SEPARATOR_2 > > # define PATH_SEPARATOR_2 ';' > > # endif > > #endif > > I've never found it particularly useful to distinguish between '/' > and '\\' as DIR_SEPARATOR chars; for most purposes MS-Windows, and > MS-DOS before it, *don't* *need* '\\', so you may as well just use > '/' on every platform. There is only one exception I can think of, > and IME it's rarely encountered in practice; of course, it may be > different on OS2, of which I have no experience. Well, if you want to *parse* file names given to you from some external input, then also recognizing '\\' as directory separator is just being liberal in what you accept. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf