about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-29 22:07:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-29 22:07:02 +0000
commit218007510c52cf9858cdb56f28a86a285c285c70 (patch)
tree4e776c426ea200fbf220ece18edaa571e548cf43 /misc
parent06522d7e9919fe1c151f3b706daa8b00034a3f88 (diff)
downloadglibc-218007510c52cf9858cdb56f28a86a285c285c70.tar.gz
glibc-218007510c52cf9858cdb56f28a86a285c285c70.tar.xz
glibc-218007510c52cf9858cdb56f28a86a285c285c70.zip
Update.
2003-11-29  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'misc')
-rw-r--r--misc/mntent_r.c6
1 files changed, 6 insertions, 0 deletions
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');