Oops - fixed failure to initialise range.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4573 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-07-12 11:23:06 +00:00
parent 1a98e432b7
commit 4971ffc481

View file

@ -1982,6 +1982,7 @@ handle_printf_atsign (FILE *stream,
[s deleteCharactersInRange: ((NSRange){0,7})];
/* Condense `//' */
r = NSMakeRange(0, [s length]);
while ((r = [s rangeOfCharacterFromSet: pathSeps()
options: 0
range: r]).length)
@ -1998,6 +1999,7 @@ handle_printf_atsign (FILE *stream,
}
/* Condense `/./' */
r = NSMakeRange(0, [s length]);
while ((r = [s rangeOfCharacterFromSet: pathSeps()
options: 0
range: r]).length)
@ -2021,6 +2023,7 @@ handle_printf_atsign (FILE *stream,
return s;
/* Condense `/../' */
r = NSMakeRange(0, [s length]);
while ((r = [s rangeOfCharacterFromSet: pathSeps()
options: 0
range: r]).length)