OSDN Git Service

* speclib: Remove temp files automatically.
authorcgf <cgf>
Wed, 2 Jan 2002 00:06:35 +0000 (00:06 +0000)
committercgf <cgf>
Wed, 2 Jan 2002 00:06:35 +0000 (00:06 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/speclib

index 0eb8813..51cddc8 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-01  Christopher Faylor  <cgf@redhat.com>
+
+       * speclib: Remove temp files automatically.
+
 2002-01-01  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler.h (fhandler_socket::sun_path): New private member.
index 63c2f20..f9c4676 100755 (executable)
@@ -6,7 +6,7 @@ lib=$1; shift
 nm=$1; shift
 dlltool=$1; shift
 def=$1; shift
-trap "rm /tmp/$$.def" 0 1 2 15
+trap "rm /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 -d /tmp/$$.def -l "$lib" -D /dev/null