diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-09-20 19:06:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-09-20 19:06:30 +0000 |
commit | c788cd706d013c449c8415f34a16ca8024ad250d (patch) | |
tree | 6f5aecd6bc63cfa3c6e1e81119104400b737dc0a | |
parent | 8bbbd5d09c47b640abacac81a5ce824f4ce2a921 (diff) | |
download | glibc-c788cd706d013c449c8415f34a16ca8024ad250d.tar.gz glibc-c788cd706d013c449c8415f34a16ca8024ad250d.tar.xz glibc-c788cd706d013c449c8415f34a16ca8024ad250d.zip |
Make -n option actually do something.
-rwxr-xr-x | malloc/memusage.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/memusage.sh b/malloc/memusage.sh index e9025cb75a..e0d2fccc0f 100755 --- a/malloc/memusage.sh +++ b/malloc/memusage.sh @@ -219,6 +219,11 @@ if test -n "$datafile"; then add_env="$add_env MEMUSAGE_OUTPUT=$datafile" fi +# Set program name. +if test -n "$progname"; then + add_env="$add_env MEMUSAGE_PROG_NAME=$progname" +fi + # Set buffer size. if test -n "$buffer"; then add_env="$add_env MEMUSAGE_BUFFER_SIZE=$buffer" |