1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
Ulrich Drepper
2003-11-29 22:07:02 +00:00
parent 06522d7e99
commit 218007510c
2 changed files with 14 additions and 3 deletions

View File

@ -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');