discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Handling Windows UNC pathes


From: Roland Schwingel
Subject: Bug in Handling Windows UNC pathes
Date: Wed, 08 Oct 2003 15:49:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Hi...

We have updated a while ago to 1.7.2 and lateron to 1.8.0 but still found some problems in handling pure UNC pathes on windows.

Attached with this mail you will find an archive containing small patches to NSBundle, NSFileManager and NSString for correcting UNC behaviour. Everything is well tested for a couple of weeks.

NSBundle:
convert arg[0] of processinfo to gnustep path representation before use it to load main bundle

NSFileManager:
in - (NSString*) stringWithFileSystemRepresentation: (const char*)string length: (unsigned int)len
added check for backslashes to convert windows unc pathes correct.

NSString:
bug with handling of tildes:
-stringByAbbreviationWithTildeInPath
-stringByExpandingTildeInPath
did not work correct.

Hope you can apply it,

Roland

Attachment: UNCpath_patch.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]