Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd30ad52

Browse files
committed
From: Jeroen van Vianen <jeroenv@design.nl>
tools.patch patches tools/find_static (use indices to increaseperformance) and tools/ccsym (no hardcoded paths).
1 parent22bd99e commitd30ad52

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

‎src/tools/ccsym

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/sh
2-
trap"/bin/rm -f /tmp/$$.*" 0 1 2 3 15
2+
trap"rm -f /tmp/$$.*" 0 1 2 3 15
33
cd /tmp
4-
/bin/cat>$$.c<<EOF
4+
cat>$$.c<<EOF
55
extern int foo;
66
EOF
77
foriin`cc -v -c$$.c2>&1`
88
do
99
case"$i"in
10-
-D*)echo"$i"|/usr/bin/sed's/^-D//';;
11-
-A*)/bin/test"2.7.2.1"&&echo"$i"|/usr/bin/sed's/^-A\(.*\)(\(.*\))/\1=\2/';;
10+
-D*)echo"$i"| sed's/^-D//';;
11+
-A*)test"2.7.2.1"&&echo"$i"| sed's/^-A\(.*\)(\(.*\))/\1=\2/';;
1212
esac
1313
done

‎src/tools/find_static

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ echo "
2727
intotable debug2
2828
from debug;
2929
30+
create index idebug on debug(scope,func);
31+
create index idebug2 on debug2(func,scope);
32+
vacuum debug;
33+
vacuum debug2;
34+
3035
update debug2
3136
set scope = '_'
3237
from debug

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp