[Ltrace-devel] [ltrace-devel][Patch]fix the max number of library names

Li Zefan lizf at cn.fujitsu.com
Tue Aug 7 09:37:55 UTC 2007


Hi,

The manual state the max number of library names specified by option '-l' is 20, but in fact it is 30.

We can see this from the source code of ltrace:
=========================================
#define MAX_LIBRARY		30
char *library[MAX_LIBRARY];
=========================================

So I made a patch for the manual:

Modified: ltrace/trunk/ltrace.1
======================================================================
--- ltrace/trunk/ltrace.1	2007-08-07 04:58:59.000000000 +0800
+++ ltrace/trunk/ltrace.1	2007-08-07 04:59:21.000000000 +0800
@@ -71,7 +71,7 @@
 .I \-l, \-\-library filename
 Display only the symbols included in the library
 .I filename.
-Up to 20 library names can be specified with several instances
+Up to 30 library names can be specified with several instances
 of this option.
 .TP
 .I \-L
======================================================================

Best Regards
Li Zefan





More information about the Ltrace-devel mailing list