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>2003-08-21 07:36:02 +0400
committerChristopher Faylor <me@cgf.cx>2003-08-21 07:36:02 +0400
commitb5c5b9996ab6b81b8d8bb1d65a4411efa47ba243 (patch)
tree130338b31d57537610f89c0cc4b37010d9959fda /winsup/cygwin
parentd688945c445857ac67704822d07522b91957be07 (diff)
* speclib: Reenable removal of temp files.
Diffstat (limited to 'winsup/cygwin')
-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 e8f77acc6..e1226cf75 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2003-08-20 Christopher Faylor <cgf@redhat.com>
+ * speclib: Reenable removal of temp files.
+
+2003-08-20 Christopher Faylor <cgf@redhat.com>
+
* miscfuncs.cc (low_priority_sleep): Sleep at same priority as main
thread.
* sigproc.cc (wait_sig): Keep looping if there are more signals to
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib
index 4a08ab709..cd463f808 100755
--- a/winsup/cygwin/speclib
+++ b/winsup/cygwin/speclib
@@ -18,7 +18,7 @@ nm=$1; shift
ar=$1; shift
libdll=$1; shift
cp /dev/null /tmp/$$.objs
-# trap "/bin/rm -rf /tmp/$$.dir /tmp/$$.syms /tmp/$$.objs /tmp/$$.raw" 0 1 2 15
+trap "/bin/rm -rf $lib.bak /tmp/$$.dir /tmp/$$.syms /tmp/$$.objs /tmp/$$.raw" 0 1 2 15
$nm --extern-only --defined-only $* | sed -n -e 's%^.* [TD] \(.*\)$%/ \1\$/p%p' > /tmp/$$.syms
v || $nm -Ap --extern-only --defined-only $libdll | egrep ' I __head| I _.*_iname' | awk -F: '{print $2}' > /tmp/$$.objs
$nm -Ap --extern-only --defined-only $libdll | sed -n -f /tmp/$$.syms | awk -F: '{print $2}' >> /tmp/$$.objs