mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
varargs fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@33186 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dcc1f3c7e8
commit
c23350e800
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-05-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSString.m (-initWithFormat:locale:): Make sure va_end()
|
||||
gets called.
|
||||
Patch by Stefan Bidigaray <stefanbidi@gmail.com>.
|
||||
|
||||
2011-05-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSAutoreleasePool.m:
|
||||
|
|
|
@ -1115,7 +1115,7 @@ handle_printf_atsign (FILE *stream,
|
|||
{
|
||||
va_list ap;
|
||||
va_start(ap, locale);
|
||||
return [self initWithFormat: format locale: locale arguments: ap];
|
||||
selv = [self initWithFormat: format locale: locale arguments: ap];
|
||||
va_end(ap);
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue