> Date: Sun, 27 Feb 2005 03:10:32 -0500 (EST) > From: "Earnie Boyd" <[EMAIL PROTECTED]> > Cc: "Eli Zaretskii" <[EMAIL PROTECTED]>, [email protected], [EMAIL PROTECTED] > > > The trick is knowing where/when to do this. Some places spring to mind: > > > > * Translate argv[0]
Yes. > > * Translate the results of the getpwd() call that sets CURDIR, > > etc. and also provides the string for "entering directory..." output. Yes. > > * Translate the results of $(wildcard ...) (?) Yes (and I think this MUST be done for $wildcard to work correctly, since glob.c doesn't cope with backslashes very well (them being escape characters). > * Translate the result of getenv (). Only the value of PATH and Path, I think. Why do you think you need to mirror slashes in other variables? > Don't forget though, when spawning a process you need the command line to > use \ instead of /. I don't think this is needed. DJGPP doesn't mirror PATH back to backslashes, and the problems are minimal to non-existing. _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
