gnustep-dev
[Top][All Lists]
Advanced

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

Re[2]: NSString initWithUTF8String:...


From: Manuel Guesdon
Subject: Re[2]: NSString initWithUTF8String:...
Date: Sun, 11 Feb 2001 23:10:25 +0100 (CET)

On Sun, 11 Feb 2001 17:03:38 +0000 Richard Frith-Macdonald <Richard 
Frith-Macdonald <address@hidden>> wrote:

 >| 
 >| On Sunday, February 11, 2001, at 03:28 PM, Manuel Guesdon wrote:
 >| 
 >| > NSString initWithUTF8String: fail with NULL parameter 
 >| > What does OpenStep/NextStep/MacOSX for this case ? Does it consider it's 
 >a zero length 
 >| > string, does it raise an exception 
 >| > or does it crash in strlen,... calls ? 
 >| >  
 >| > I think we should at least raise an exception in this case (?) 
 >| 
 >| I don't know what MacOS does, but my preference is for tolerance ... it 
 >should treat it
 >| as a zero length string (and perhaps log a warning if compiled for debug - 
 >it's what NSDebugMLog() is for).
 >| 

done.

Manuel
--
______________________________________________________________________
Manuel Guesdon - Software Builders <address@hidden>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998






reply via email to

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