diff options
author | Marc G. Fournier | 1998-03-15 08:33:59 +0000 |
---|---|---|
committer | Marc G. Fournier | 1998-03-15 08:33:59 +0000 |
commit | d30ad529182390a1b52c8656140575fe9ca05b2a (patch) | |
tree | f84726df91bc62fe96739be986c642fe2e211225 | |
parent | 22bd99e462f24b5f98b4b879c3f019b6cb4f2ada (diff) |
From: Jeroen van Vianen <[email protected]>
tools.patch patches tools/find_static (use indices to increase
performance) and tools/ccsym (no hardcoded paths).
-rwxr-xr-x | src/tools/ccsym | 8 | ||||
-rwxr-xr-x | src/tools/find_static | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/tools/ccsym b/src/tools/ccsym index 548d58b3592..130f7bb327a 100755 --- a/src/tools/ccsym +++ b/src/tools/ccsym @@ -1,13 +1,13 @@ #!/bin/sh -trap "/bin/rm -f /tmp/$$.*" 0 1 2 3 15 +trap "rm -f /tmp/$$.*" 0 1 2 3 15 cd /tmp -/bin/cat >$$.c <<EOF +cat >$$.c <<EOF extern int foo; EOF for i in `cc -v -c $$.c 2>&1` do case "$i" in - -D*) echo "$i" | /usr/bin/sed 's/^-D//';; - -A*) /bin/test "2.7.2.1" && echo "$i" | /usr/bin/sed 's/^-A\(.*\)(\(.*\))/\1=\2/';; + -D*) echo "$i" | sed 's/^-D//';; + -A*) test "2.7.2.1" && echo "$i" | sed 's/^-A\(.*\)(\(.*\))/\1=\2/';; esac done diff --git a/src/tools/find_static b/src/tools/find_static index bce75a2bf67..5951484d71f 100755 --- a/src/tools/find_static +++ b/src/tools/find_static @@ -27,6 +27,11 @@ echo " into table debug2 from debug; + create index idebug on debug(scope,func); + create index idebug2 on debug2(func,scope); + vacuum debug; + vacuum debug2; + update debug2 set scope = '_' from debug |