diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rwxr-xr-x | winsup/cygwin/speclib | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bdc97d121..6a5f28036 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-01-23 Christopher Faylor <cgf@redhat.com> + + * speclib: Use rm -f to remove temp file just to quiet any potential + warnings. + 2002-01-23 Corinna Vinschen <corinna@vinschen.de> * security.cc (create_token): Use sec_user() to create diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index a5ce7f46b..a868701ae 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" |