diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-02 00:06:35 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-02 00:06:35 +0000 |
commit | 3b789217ae1d1203034dfcf2002e168d333485b1 (patch) | |
tree | 88a402297dcc5d4baed4a43be2676fa6fcd12f1e /winsup | |
parent | 444604889b435d4092e081443c1664c24aa7290e (diff) | |
download | cygnal-3b789217ae1d1203034dfcf2002e168d333485b1.tar.gz cygnal-3b789217ae1d1203034dfcf2002e168d333485b1.tar.bz2 cygnal-3b789217ae1d1203034dfcf2002e168d333485b1.zip |
* speclib: Remove temp files automatically.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rwxr-xr-x | winsup/cygwin/speclib | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0eb8813da..51cddc825 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index 63c2f20fc..f9c467685 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -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 |