From 45139d5f770d32969d95593a6e176688c2205d54 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 27 Apr 1998 09:43:55 +0000 Subject: Update. 1998-04-24 Andreas Schwab * streams/Makefile (headers): Add sys/stropts.h. * streams/sys/stropts.h: New file. 1998-04-25 Andreas Schwab * sysdeps/unix/sysv/linux/ttyname.c, sysdeps/unix/sysv/linux/ttyname_r.c: New files, like sysdeps/posix/ttyname*.c, but look in /dev/pts first. 1998-04-25 Andreas Schwab * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second argument of _itoa_word. 1998-04-24 Andreas Schwab * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents, s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending, sigprocmask, resp., instead of EXTRA. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove s_pread64 and s_pwrite64. --- sysdeps/unix/sysv/linux/ptsname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/ptsname.c') diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c index c81f23504c..2db8f8d08a 100644 --- a/sysdeps/unix/sysv/linux/ptsname.c +++ b/sysdeps/unix/sysv/linux/ptsname.c @@ -101,7 +101,7 @@ __ptsname_r (fd, buf, buflen) idbuf[5] = '\0'; __stpcpy (__stpcpy (nbuf, "/dev/pts/"), - _itoa_word (ptyno, &idbuf[4], 10, 0)); + _itoa_word (ptyno, &idbuf[5], 10, 0)); if (__xstat (_STAT_VER, nbuf, &st) < 0) { if (errno != ENOENT) -- cgit 1.4.1