Re: Nitpicking PATCH - path v/s directory separator in stdio.h
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <006d01c25dbf$cf4ecd60$e898a7cb@DANNY> |
> > Earnie, > > I was about to say exactly what you said but I hesitated because I realised > that "path separator" is sometimes used to mean "a character that separates > multiple paths" (e.g. in PATH), and other times used to mean "a character > that separates the components of a single path". IIRC Ranjit has been > playing with building GCC, and I noticed that the GCC source uses this > terminology (and uses "directory separator" for the second meaning). In the > context of this comment in stdio.h the meaning is obvious whichever term you > use, so I'm not going to worry :) > > Luke > That was my immediate take and I agree with Ranjit. In just about all GCC, binutils code PATH_SEPARATOR means ';' or ':" or whatever VMS uses, depending and DIR_SEPARATOR means '/' or '\\' . Anyway, I had already committed his change before the nit outbreak. Feel feel to revert if you prefer a diferent flavour of nit. Danny Danny > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > MinGW-patches mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-patches ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf