[Top][All Lists]

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

[patch #4415] base: mingw unicode filesystemRep

From: Jeremy Bettis
Subject: [patch #4415] base: mingw unicode filesystemRep
Date: Sun, 23 Oct 2005 14:17:41 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)

Follow-up Comment #2, patch #4415 (project gnustep):

I think it would be safer to tell the world that win32 works differently in
the header file.  For example, the change to filesystemRepresentation broke
my code, and I didn't even know it.  I updated by gnustep-base library to a
new version, and didn't get a compiler warning or anything, but
filesystemRepresentation only returned the first character of the string.
(From my perspective interpreting it as a char*)

The current functionally is flat out dangerous.  Either return a char* or
change the header to what you will actually return.  You can't expect every
user of -[NSString filesystemRepresentation] to read the source code of


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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