mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Hopefully fix compilatuion problem on alphas
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d3ac56536
commit
9524b45a2d
2 changed files with 9 additions and 1 deletions
|
@ -3,6 +3,9 @@
|
|||
* Source/NSData.m: readContentsOfFile() hack added to permit reading
|
||||
of files like those in the /proc filesystem which don't support
|
||||
lengths.
|
||||
* Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
|
||||
variable to try to get compilation to work on alpha ... untested
|
||||
as I don't have an alpha system.
|
||||
|
||||
2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -721,7 +721,12 @@ handle_printf_atsign (FILE *stream,
|
|||
- (id) initWithFormat: (NSString*)format
|
||||
locale: (NSDictionary*)locale
|
||||
{
|
||||
return [self initWithFormat: format locale: locale arguments: NULL];
|
||||
va_list ap;
|
||||
/*
|
||||
* Dummy variable 'ap' is unused, but needs to be present because on
|
||||
* some machines we can't just pass a null as a va_list
|
||||
*/
|
||||
return [self initWithFormat: format locale: locale arguments: ap];
|
||||
}
|
||||
|
||||
- (id) initWithFormat: (NSString*)format
|
||||
|
|
Loading…
Reference in a new issue