Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-23 21:46:19 +0300
committerChristopher Faylor <me@cgf.cx>2002-01-23 21:46:19 +0300
commit3c07fbebf8023eb8daffc9f3931b3652d5b7fb54 (patch)
tree0a43bd3ac4d88eabaebafee0da4c406f08bb6fa9 /winsup/cygwin
parentbe6d8567eb16f5cb74dce878ea00e491e5dfc571 (diff)
* speclib: Use rm -f to remove temp file just to quiet any potential warnings.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rwxr-xr-xwinsup/cygwin/speclib2
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"