projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750614f
)
rpminject.c: add mtrace prologue.
author
jbj
<devnull@localhost>
Tue, 26 Sep 2000 17:42:00 +0000
(17:42 +0000)
committer
jbj
<devnull@localhost>
Tue, 26 Sep 2000 17:42:00 +0000
(17:42 +0000)
CVS patchset: 4174
CVS date: 2000/09/26 17:42:00
tools/rpminject.c
patch
|
blob
|
history
diff --git
a/tools/rpminject.c
b/tools/rpminject.c
index
c839e23
..
c93a0ca
100644
(file)
--- a/
tools/rpminject.c
+++ b/
tools/rpminject.c
@@
-529,6
+529,10
@@
main(int argc, char *argv[])
int ec = 0;
injmode_t lastmode = INJ_UNKNOWN;
+#if HAVE_MCHECK_H && HAVE_MTRACE
+ mtrace(); /* Trace malloc only if MALLOC_TRACE=mtrace-output-file. */
+#endif
+
setprogname(argv[0]); /* Retrofit glibc __progname */
(void)setlocale(LC_ALL, "" );