projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bbbd5d
)
Make -n option actually do something.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 20 Sep 2001 19:06:30 +0000
(19:06 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 20 Sep 2001 19:06:30 +0000
(19:06 +0000)
malloc/memusage.sh
patch
|
blob
|
history
diff --git
a/malloc/memusage.sh
b/malloc/memusage.sh
index
e9025cb
..
e0d2fcc
100755
(executable)
--- 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"