diff options
author | Fred Fish <fnf@specifix.com> | 1998-01-26 17:14:55 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1998-01-26 17:14:55 +0000 |
commit | e454c4004f35649ad03fe21ac4f0c0eca46e20ea (patch) | |
tree | 75556a3857d4e33933d32b7316bd17200aa67903 /gdb/.Sanitize | |
parent | 0ca3c05121f6a98c0517e0c5ae516a236493cb10 (diff) | |
download | gdb-e454c4004f35649ad03fe21ac4f0c0eca46e20ea.zip gdb-e454c4004f35649ad03fe21ac4f0c0eca46e20ea.tar.gz gdb-e454c4004f35649ad03fe21ac4f0c0eca46e20ea.tar.bz2 |
Fix minor sanitization problems.
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r-- | gdb/.Sanitize | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index ce1d063..907fe7c 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -780,6 +780,32 @@ 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 + if [ -n "${verbose}" ] ; then + echo Keeping ide stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"ide\" from $i... + fi + cp $i new + sed '/start\-sanitize\-ide/,/end-\sanitize\-ide/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 |