Differences From Artifact [63687acf9a]:
- File
src/OFString.m
— part of check-in
[e53a4fd61c]
at
2016-05-28 11:37:46
on branch trunk
— Add a reference to OFStdIOStream_Win32Console
This is required for static linking, as otherwise
+[OFStdIOStream_Win32Console load] will not be called. (user: js, size: 57684) [annotate] [blame] [check-ins using]
To Artifact [e8667bc529]:
- File src/OFString.m — part of check-in [541aab7a03] at 2016-07-03 19:38:35 on branch trunk — -[pathComponents]: Include drive in 1st component (user: js, size: 57983) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 | of_range(last, i - last)]]; last = i + 1; } } [ret addObject: [self substringWithRange: of_range(last, i - last)]]; [ret makeImmutable]; objc_autoreleasePoolPop(pool); return ret; } | > > > > > > > > > > > | 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 | of_range(last, i - last)]]; last = i + 1; } } [ret addObject: [self substringWithRange: of_range(last, i - last)]]; #ifdef OF_WINDOWS if ([ret count] >= 2 && [[ret objectAtIndex: 0] hasSuffix: @":"]) { OFString *first = [[ret objectAtIndex: 0] stringByAppendingPathComponent: [ret objectAtIndex: 1]]; [ret removeObjectAtIndex: 0]; [ret replaceObjectAtIndex: 0 withObject: first]; } #endif [ret makeImmutable]; objc_autoreleasePoolPop(pool); return ret; } |
︙ | ︙ |