mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Patch for bug #63408 by Florian Weimer
This commit is contained in:
parent
4a03bbc328
commit
94a8b046b0
6 changed files with 17 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2022-11-25 Florian Weimer
|
||||
|
||||
* config/config.poll-dev.c:
|
||||
* config/config.proccmd.c:
|
||||
* config/config.reuseaddr.c:
|
||||
* config/config.vasprintf.c:
|
||||
* config/config.vsprintf.c:
|
||||
Make config tests work with C99 compiler
|
||||
|
||||
2022-11-21 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSFileManager.m:
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int
|
||||
main()
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
notice and this notice are preserved.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
char buf[32];
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
// Maximum data in single I/O operation
|
||||
#define NETBUF_SIZE 4096
|
||||
|
||||
main()
|
||||
int main()
|
||||
{
|
||||
struct sockaddr_in sin;
|
||||
int size = sizeof(sin);
|
||||
|
|
|
@ -25,6 +25,6 @@ static int func(const char *fmt, ...)
|
|||
int main()
|
||||
{
|
||||
if (func("1234", 0) == 4)
|
||||
exit (0);
|
||||
exit (-1);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@ static int func(const char *fmt, ...)
|
|||
int main()
|
||||
{
|
||||
if (func("1234", 0) == 4)
|
||||
exit (0);
|
||||
exit (-1);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue