* speclib: Reenable removal of temp files.

This commit is contained in:
Christopher Faylor 2003-08-21 03:36:02 +00:00
parent d688945c44
commit b5c5b9996a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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