diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-24 21:39:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-24 21:39:09 +0000 |
commit | dfb4c34707e943d991c3922d3b69e31459cb14e3 (patch) | |
tree | ccc529bfe913d703766bc05fbab090ace66edb27 /winsup/cygwin | |
parent | 3aad7c8a621454607f964f1786b1ca5b7a87b89e (diff) | |
download | cygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.tar.gz cygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.tar.bz2 cygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.zip |
* speclib: Ensure that temporary def file is removed.
Diffstat (limited to 'winsup/cygwin')
-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 6a5f28036..44bbc777c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-01-24 Christopher Faylor <cgf@redhat.com> + + * speclib: Ensure that temporary def file is removed. + 2002-01-23 Christopher Faylor <cgf@redhat.com> * speclib: Use rm -f to remove temp file just to quiet any potential diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index a868701ae..6f8e0cd73 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -20,4 +20,4 @@ def=$1; shift 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" +$dlltool --as=$as -d /tmp/$$.def -l "$lib" |