diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 05:29:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 05:29:24 +0000 |
commit | 84a4fd33317babb7f1fe2542aa040c26c3603971 (patch) | |
tree | 6aab3672de97fd34a5689eaa8071a8551c5bb7b0 /stdio-common | |
parent | f091f00a06a15454add413504e4855db24ab44a2 (diff) | |
download | glibc-84a4fd33317babb7f1fe2542aa040c26c3603971.zip glibc-84a4fd33317babb7f1fe2542aa040c26c3603971.tar.gz glibc-84a4fd33317babb7f1fe2542aa040c26c3603971.tar.bz2 |
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>.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/tmpnam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpnam.c b/stdio-common/tmpnam.c index fc30026..e1e11ae 100644 --- a/stdio-common/tmpnam.c +++ b/stdio-common/tmpnam.c @@ -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 |