From 3c07fbebf8023eb8daffc9f3931b3652d5b7fb54 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 23 Jan 2002 18:46:19 +0000 Subject: * speclib: Use rm -f to remove temp file just to quiet any potential warnings. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/speclib | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'winsup') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bdc97d1..6a5f280 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-01-23 Christopher Faylor + + * speclib: Use rm -f to remove temp file just to quiet any potential + warnings. + 2002-01-23 Corinna Vinschen * security.cc (create_token): Use sec_user() to create diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index a5ce7f4..a868701 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -17,7 +17,7 @@ nm=$1; shift dlltool=$1; shift as=$1; shift def=$1; shift -trap "rm /tmp/$$.def" 0 1 2 15 +trap "rm -f /tmp/$$.def" 0 1 2 15 (echo "LIBRARY cygwin1.dll EXPORTS"; $nm --extern-only --defined-only $* | sed -e '/^[ ]*$/d' -e '/:$/d' -e 's/^.* _\(.*\)/\1/' | grep $v -f - -w $def |egrep -vi '^library|exports|^$' | sort) > /tmp/$$.def exec $dlltool --as=$as -d /tmp/$$.def -l "$lib" -- cgit v1.1