summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-13 15:00:27 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-13 15:00:27 +0000
commitbd31edf2fce64af24539a99b22239b7b6d4098b8 (patch)
tree40ab79f536fd2af7f08ad0710b57a64efd52e986
parent33c3e20e7b48d4d7fc46eceda01fd8607fd0b415 (diff)
Update.
1998-09-13 Ulrich Drepper <drepper@cygnus.com> * io/pwd.c (main): Add call to mtrace. * malloc/mtrace.pl: Quote @ in string.
-rw-r--r--ChangeLog6
-rw-r--r--io/pwd.c7
-rw-r--r--malloc/mtrace.pl4
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 <drepper@cygnus.com>
+
+ * io/pwd.c (main): Add call to mtrace.
+
+ * malloc/mtrace.pl: Quote @ in string.
+
1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
* 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 <drepper@gnu.ai.mit.edu>, 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 <bugs@gnu.org>.\n";
+ print "Report bugs using the `glibcbug' script to <bugs\@gnu.org>.\n";
exit 0;
}