From bd31edf2fce64af24539a99b22239b7b6d4098b8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Sep 1998 15:00:27 +0000 Subject: Update. 1998-09-13 Ulrich Drepper * io/pwd.c (main): Add call to mtrace. * malloc/mtrace.pl: Quote @ in string. --- ChangeLog | 6 ++++++ io/pwd.c | 7 ++++++- malloc/mtrace.pl | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3e6177284e..47d33bb04a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1998-09-13 Ulrich Drepper + + * io/pwd.c (main): Add call to mtrace. + + * malloc/mtrace.pl: Quote @ in string. + 1998-09-13 19:25 Tim Waugh * posix/wordexp.c (parse_arith): Fix memory leaks. diff --git a/io/pwd.c b/io/pwd.c index 68ed1b924f..8dbd958762 100644 --- a/io/pwd.c +++ b/io/pwd.c @@ -23,7 +23,12 @@ int main (void) { - char *dir = getcwd ((char *) NULL, 0); + char *dir; + + /* Let this program be used for debugging. */ + mtrace (); + + dir = getcwd ((char *) NULL, 0); if (dir == NULL) perror ("getcwd"); diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl index e2032d4c0a..3cd217c098 100644 --- a/malloc/mtrace.pl +++ b/malloc/mtrace.pl @@ -1,7 +1,7 @@ #! @PERL@ eval "exec @PERL@ -S $0 $*" if 0; -# Copyright (C) 1997 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Ulrich Drepper , 1997. # Based on the mtrace.awk script. @@ -30,7 +30,7 @@ sub usage { print " --help print this help, then exit\n"; print " --version print version number, then exit\n"; print "\n"; - print "Report bugs using the `glibcbug' script to .\n"; + print "Report bugs using the `glibcbug' script to .\n"; exit 0; } -- cgit 1.4.1