[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] When option --dynamic are specified, use -nn option of global at
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] When option --dynamic are specified, use -nn option of global at the time of tag cache creation. |
Date: |
Thu, 29 May 2003 08:17:46 +0900 |
line image is not required when --dynamic is specified
Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.125
diff -u -r1.125 htags.in
--- htags/htags.in 26 May 2003 05:19:13 -0000 1.125
+++ htags/htags.in 28 May 2003 23:08:42 -0000
@@ -1414,8 +1414,13 @@
local($first_line);
local($writing) = 0;
local($count) = 0;
+ local($command);
- local($command) = "global -nx$option \".*\" | $'gtags --sort";
+ if ($'dynamic) {
+ $command = "global -nnx$option \".*\" | $'gtags --sort";
+ } else {
+ $command = "global -nx$option \".*\" | $'gtags --sort";
+ }
open(LIST, "$command |") || &'error("cannot fork.");
while (<LIST>) {
chop;
----
Hideki IWAMOTO address@hidden
- [PATCH] When option --dynamic are specified, use -nn option of global at the time of tag cache creation.,
Hideki IWAMOTO <=