aboutsummaryrefslogtreecommitdiff
path: root/io
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 /io
parent33c3e20e7b48d4d7fc46eceda01fd8607fd0b415 (diff)
downloadglibc-bd31edf2fce64af24539a99b22239b7b6d4098b8.zip
glibc-bd31edf2fce64af24539a99b22239b7b6d4098b8.tar.gz
glibc-bd31edf2fce64af24539a99b22239b7b6d4098b8.tar.bz2
Update.
1998-09-13 Ulrich Drepper <drepper@cygnus.com> * io/pwd.c (main): Add call to mtrace. * malloc/mtrace.pl: Quote @ in string.
Diffstat (limited to 'io')
-rw-r--r--io/pwd.c7
1 files changed, 6 insertions, 1 deletions
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");