diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-17 23:52:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-17 23:52:56 +0000 |
commit | e796f92f68585f61412f569e4b4f49b5e21d80df (patch) | |
tree | b3cb5d9bf8e91e54d6d443330b2bad65ac867580 /misc | |
parent | 0278652840d0b09297986baee97ab46c136f304c (diff) | |
download | glibc-e796f92f68585f61412f569e4b4f49b5e21d80df.tar.gz |
Update.
2003-12-17 Jakub Jelinek <jakub@redhat.com>
* malloc/mtrace.c (tr_old_memalign_hook): New variable.
(tr_memalignhook): New function.
(mtrace): Register tr_memalignhook.
(muntrace): Deregister tr_memalignhook.
* malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL,
call it directly instead of memalign_internal.
2003-12-17 Ulrich Drepper <drepper@redhat.com>
* misc/mntent_r.c: Change encoding to match recently change decoder.
Patch by Alexander Achenbach <xela@slit.de>.
2003-12-16 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of
vrregset_t.
2003-12-16 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extent
conditional to include typedef elf_vrreg_t.
2002-12-17 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (re_search_internal): Limit search to the
beginning of the buffer if the initial states are empty for
contexts that do not include CONTEXT_BEGBUF or, if
!preg->newline_anchor, that do not include any one of
CONTEXT_BEGBUF and CONTEXT_NEWLINE.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mntent_r.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/mntent_r.c b/misc/mntent_r.c index 2623ec3b70..1476c86ee2 100644 --- a/misc/mntent_r.c +++ b/misc/mntent_r.c @@ -86,7 +86,7 @@ decode_name (char *buf) } else if (rp[0] == '\\' && rp[1] == '0' && rp[2] == '1' && rp[3] == '1') { - /* \012 is a TAB. */ + /* \011 is a TAB. */ *wp++ = '\t'; rp += 3; } @@ -220,6 +220,13 @@ weak_alias (__getmntent_r, getmntent_r) *wp++ = '\\'; \ *wp++ = '0'; \ *wp++ = '1'; \ + *wp++ = '1'; \ + } \ + else if (*rp == '\n') \ + { \ + *wp++ = '\\'; \ + *wp++ = '0'; \ + *wp++ = '1'; \ *wp++ = '2'; \ } \ else if (*rp == '\\') \ |