mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Minor configuration fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_6_0@16122 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
72819efe08
commit
6d537a1e11
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* config/config.vasprintf.c:
|
||||
* config/config.vsprintf.c: Correct the number of arguments passed
|
||||
so that modern compilers don't fail on these files. A compiler
|
||||
failure is seen by configure as the same as a runtime failure, and
|
||||
configure would infer incorrect runtime behavior!
|
||||
|
||||
2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSSerializer.m: Fix crash when deserializing a corrupt or
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
int main ()
|
||||
{
|
||||
char *buf;
|
||||
if (vasprintf (&buf, "1234") == 4)
|
||||
if (vasprintf (&buf, "1234", 0) == 4)
|
||||
exit (0);
|
||||
exit (-1);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
int main ()
|
||||
{
|
||||
char buf[128];
|
||||
if (vsprintf (buf, "1234") == 4)
|
||||
if (vsprintf (buf, "1234", 0) == 4)
|
||||
exit (0);
|
||||
exit (-1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue