Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Nov 29, 2003
1 parent 06522d7 commit 2180075
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2003-11-29 Ulrich Drepper <drepper@redhat.com>

* misc/mntent_r.c (decode_name): Be compatible with util-linux and
recognize \134 as well.

2003-10-09 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/ia64/fpu/fraiseexcpt.c: Don't include <asm/fpu.h>.
Expand All @@ -10,9 +15,9 @@

* sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include
<asm/elf.h>.
(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.
Expand All @@ -22,7 +27,7 @@
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include
<sys/ucontext.h>.
(__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS.
(pt_all_user_regs): New.
(pt_all_user_regs): New type.

2003-10-10 Simon Josefsson <jas@extundo.com>

Expand Down
6 changes: 6 additions & 0 deletions misc/mntent_r.c
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 2180075

Please sign in to comment.