mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user