mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
2000-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype correctly. Reported by Felix von Leitner <leitner@convergence.de>.
This commit is contained in:
@ -30,7 +30,7 @@ tmpnam (char *s)
|
||||
/* By using two buffers we manage to be thread safe in the case
|
||||
where S != NULL. */
|
||||
char tmpbufmem[L_tmpnam];
|
||||
char tmpbuf = s ?: tmpbufmem;
|
||||
char *tmpbuf = s ?: tmpbufmem;
|
||||
|
||||
/* In the following call we use the buffer pointed to by S if
|
||||
non-NULL although we don't know the size. But we limit the size
|
||||
|
Reference in New Issue
Block a user