summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-24 21:39:09 +0000
committerChristopher Faylor <me@cgf.cx>2002-01-24 21:39:09 +0000
commitdfb4c34707e943d991c3922d3b69e31459cb14e3 (patch)
treeccc529bfe913d703766bc05fbab090ace66edb27
parent3aad7c8a621454607f964f1786b1ca5b7a87b89e (diff)
downloadcygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.tar.gz
cygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.tar.bz2
cygnal-dfb4c34707e943d991c3922d3b69e31459cb14e3.zip
* speclib: Ensure that temporary def file is removed.
-rw-r--r--winsup/cygwin/ChangeLog4
-rwxr-xr-xwinsup/cygwin/speclib2
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"