Am 27.03.2009 um 23:10 schrieb oren:

[@"//host/share" stringByDeletingLastPathComponent] produces @"" and
looks like a bug
the doc said @"//host/share" should produces @"/host/share"
removing ^/ ? looks like a typo there.

FYI, Mac OS X 10.4 produces @"/host" which is what I'd expect.

These extensions to NSString are meant to handle paths, not URLs. Simplifying // to / is correct.


MarKus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to