source: trunk/kitgen/patch.sh@ 199

Last change on this file since 199 was 199, checked in by demin, 10 years ago

patch to replace EXCEPTION_REGISTRATION with TCL_EXCEPTION_REGISTRATION in Tcl an Tk

File size: 360 bytes
Line 
1for file in `grep -l EXCEPTION_REGISTRATION 8.5/tcl/win/*.c`
2do
3 echo $file
4 sed 's/EXCEPTION_REGISTRATION/TCL_EXCEPTION_REGISTRATION/' $file > tempfile
5 mv tempfile $file
6done
7
8for file in `grep -l EXCEPTION_REGISTRATION 8.5/tk/win/*.c`
9do
10 echo $file
11 sed 's/EXCEPTION_REGISTRATION/TCL_EXCEPTION_REGISTRATION/' $file > tempfile
12 mv tempfile $file
13done
Note: See TracBrowser for help on using the repository browser.