summary refs log tree commit diff
path: root/stdio-common/tmpnam.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 05:29:24 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 05:29:24 +0000
commit84a4fd33317babb7f1fe2542aa040c26c3603971 (patch)
tree6aab3672de97fd34a5689eaa8071a8551c5bb7b0 /stdio-common/tmpnam.c
parentf091f00a06a15454add413504e4855db24ab44a2 (diff)
downloadglibc-84a4fd33317babb7f1fe2542aa040c26c3603971.tar.gz
glibc-84a4fd33317babb7f1fe2542aa040c26c3603971.tar.xz
glibc-84a4fd33317babb7f1fe2542aa040c26c3603971.zip
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/tmpnam.c')
-rw-r--r--stdio-common/tmpnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpnam.c b/stdio-common/tmpnam.c
index fc30026648..e1e11aea17 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