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

Commita638f66

Browse files
committed
Cleanup tmp files for ccsym.
1 parent1337751 commita638f66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/tools/ccsym

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
2-
/bin/cat>tmp.c<<EOF
2+
trap"/bin/rm -f /tmp/$$.*" 0 1 2 3 15
3+
/bin/cat>$$.c<<EOF
34
extern int foo;
45
EOF
5-
foriin`cc -v -ctmp.c2>&1`
6+
foriin`cc -v -c$$.c2>&1`
67
do
78
case"$i"in
89
-D*)echo"$i"| /usr/bin/sed's/^-D//';;
910
-A*) /bin/test"2.7.2.1"&&echo"$i"| /usr/bin/sed's/^-A\(.*\)(\(.*\))/\1=\2/';;
1011
esac
1112
done
12-
/bin/rm -f tmp.*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp