bug-gnustep
[Top][All Lists]
Advanced

[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
gstep-base.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4415>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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