aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3e61772..47d33bb 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 68ed1b9..8dbd958 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 e2032d4..3cd217c 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;
}