From 218007510c52cf9858cdb56f28a86a285c285c70 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 Nov 2003 22:07:02 +0000 Subject: Update. 2003-11-29 Ulrich Drepper * misc/mntent_r.c (decode_name): Be compatible with util-linux and recognize \134 as well. (ELF_NGREG): New #define. (elf_greg_t): New type. (pt_all_user_regs): New type. --- ChangeLog | 11 ++++++++--- misc/mntent_r.c | 6 ++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 755665d..9bf1c61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-29 Ulrich Drepper + + * misc/mntent_r.c (decode_name): Be compatible with util-linux and + recognize \134 as well. + 2003-10-09 H.J. Lu * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include . @@ -10,9 +15,9 @@ * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include . - (ELF_NGREG): New. + (ELF_NGREG): New #define. (ELF_NFPREG): Likewise. - (elf_greg_t): Likewise. + (elf_greg_t): New type. (elf_gregset_t): Likewise. (elf_fpreg_t): Likewise. (elf_fpregset_t): Likewise. @@ -22,7 +27,7 @@ * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include . (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS. - (pt_all_user_regs): New. + (pt_all_user_regs): New type. 2003-10-10 Simon Josefsson diff --git a/misc/mntent_r.c b/misc/mntent_r.c index 3a47f61..2623ec3 100644 --- a/misc/mntent_r.c +++ b/misc/mntent_r.c @@ -102,6 +102,12 @@ decode_name (char *buf) *wp++ = '\\'; rp += 1; } + else if (rp[0] == '\\' && rp[1] == '1' && rp[2] == '3' && rp[3] == '4') + { + /* \134 is also \\. */ + *wp++ = '\\'; + rp += 3; + } else *wp++ = *rp; while (*rp++ != '\0'); -- cgit v1.1