Parent Directory | Revision Log | Patch
revision 1.1 by stefanu, Fri Oct 3 16:30:05 2003 UTC | revision 1.2 by stefanu, Fri Oct 3 17:04:41 2003 UTC | |
---|---|---|
# | Line 89 static ReadlineTranscript *sharedTranscr | Line 89 static ReadlineTranscript *sharedTranscr |
89 | res = readline([prompt cString]); | res = readline([prompt cString]); |
90 | if (res) | if (res) |
91 | { | { |
92 | resret = [NSString stringWithCString: res]; | resret = [[NSString alloc] initWithCStringNoCopy: res |
93 | length: strlen(res) | |
94 | freeWhenDone: YES]; | |
95 | } | } |
96 | return resret; | return AUTORELEASE(resret); |
97 | } | } |
98 | @end | @end |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |