Mail Archives: djgpp/2000/09/20/17:20:40
In article <39C901A4 DOT 6CAF5846 AT softhome DOT net>,
djgpp AT delorie DOT com wrote:
> dcasale AT my-deja DOT com wrote:
> > I guess I have to change the forward slashes to backslashes in the
> > output from _fixpath on my own, then. *shrugs*
>
> While writing 3-to-5 lines function to do that does not
> seem very hard, but why do you want to do it in the first
> place? All library functions understand both cases.
>
> Laurynas
Because my code parses pathnames manually, since it requires proper
multibyte handling of pathnames containing characters with a backslash
as the second byte. I don't think dirname and basename are multibyte-
enabled, at least not from the code snippet I was able to find in the
gcc source.
Damon Casale, damon AT redshift DOT com
Well, at least the code works now...
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -