mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Update.
1998-12-15 H.J. Lu <hjl@gnu.org> * sysdeps/posix/tempname.c (__path_search): Fix the maximum string length.
This commit is contained in:
parent
e9dcb08080
commit
a3fc1f7195
@ -1,3 +1,8 @@
|
||||
1998-12-15 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* sysdeps/posix/tempname.c (__path_search): Fix the maximum
|
||||
string length.
|
||||
|
||||
1998-12-15 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
|
||||
|
@ -95,7 +95,7 @@ __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx,
|
||||
return -1;
|
||||
}
|
||||
|
||||
sprintf (tmpl, "%*s/%*sXXXXXX", dlen, dir, plen, pfx);
|
||||
sprintf (tmpl, "%.*s/%.*sXXXXXX", dlen, dir, plen, pfx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user