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. --- misc/mntent_r.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'misc') diff --git a/misc/mntent_r.c b/misc/mntent_r.c index 3a47f61f38..2623ec3b70 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.2.3