diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-09 17:13:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-09 17:13:46 +0000 |
commit | 639ebe297b5b257af61b338e5a00c70df4774559 (patch) | |
tree | e154b83b8e3843218090043c649fad7ea41bdc39 /winsup/cygwin | |
parent | 6e0465c6bc7dbced46d7b6a913a1a2495c220ccc (diff) | |
download | newlib-639ebe297b5b257af61b338e5a00c70df4774559.zip newlib-639ebe297b5b257af61b338e5a00c70df4774559.tar.gz newlib-639ebe297b5b257af61b338e5a00c70df4774559.tar.bz2 |
* rmsym: Fix regular expression.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rwxr-xr-x | winsup/cygwin/rmsym | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 983d5a6..34730cf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-03-09 Corinna Vinschen <corinna@vinschen.de> + + * rmsym: Fix regular expression. + 2003-03-09 Christopher Faylor <cgf@redhat.com> * Makefile.in: Change from using new-* to cygwin0 for temporary diff --git a/winsup/cygwin/rmsym b/winsup/cygwin/rmsym index 6858026..428aa9d 100755 --- a/winsup/cygwin/rmsym +++ b/winsup/cygwin/rmsym @@ -3,8 +3,8 @@ lib=$1; shift nm=$1; shift ar=$1; shift ranlib=$1; shift -grepit=`echo $* | sed 's/ /|__imp__/g'` -[ -n "$grepit" ] && grepit="__imp__$grepit" +grepit=`echo $* | sed 's/ /\$|__imp__/g'` +[ -n "$grepit" ] && grepit="__imp__$grepit\$" objs=`$nm $lib | awk -F: '/^d[0-9]*.o:/ {obj=$1} '"/$grepit/"'{print obj}'` [ -n "$objs" ] || exit 1 $ar d $lib $objs |