diff options
author | Fred Fish <fnf@specifix.com> | 1998-01-27 05:19:50 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1998-01-27 05:19:50 +0000 |
commit | 043fadbe52a35d137d5c4dce15d0f1b3372b3e87 (patch) | |
tree | cc935e5d8a0e2d380a53d0a20c525d6f6dd346c3 /gdb/.Sanitize | |
parent | 5fcbec8f9c632ed3c04e7967d0624b3cba384c0a (diff) | |
download | gdb-043fadbe52a35d137d5c4dce15d0f1b3372b3e87.zip gdb-043fadbe52a35d137d5c4dce15d0f1b3372b3e87.tar.gz gdb-043fadbe52a35d137d5c4dce15d0f1b3372b3e87.tar.bz2 |
Fix some mswin sanitization problems.
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r-- | gdb/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 907fe7c..b34887b 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -780,6 +780,7 @@ else fi done fi + if ( echo $* | grep keep\-ide > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then @@ -807,6 +808,33 @@ else done fi +if ( echo $* | grep keep\-mswin > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping mswin stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"mswin\" from $i... + fi + cp $i new + sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |