mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
d94760f944
If a second call to ttyname is not for the same type of device (e.g., serial vs ptty) the prefix of the buffer was wrong. Don't rely on the previous content, always reinitialize it. |
||
---|---|---|
.. | ||
bits | ||
i386 | ||
linux | ||
direct.h | ||
getdents.c | ||
gethostname.c | ||
Makefile | ||
setrlimit.c | ||
settimeofday.c | ||
sigaction.c | ||
syscalls.list | ||
sysv_termio.h | ||
tcdrain.c | ||
tcflow.c | ||
tcflush.c | ||
tcgetattr.c | ||
tcgetpgrp.c | ||
tcsendbrk.c | ||
tcsetattr.c | ||
tcsetpgrp.c | ||
Versions |