[patch, rfa] Fix PR other/16615, change "can not" to "cannot" throughout docs and code

Sandra Loosemore sandra@codesourcery.com
Fri Dec 28 18:43:00 GMT 2018


I've split the fix for PR other/16615 into a series of 4 proposed 
commits.  3 of the 4 parts are mechanically generated, so I'm only 
posting the actual patch for the remaining piece (part 2).

Part 1 is the result of applying

find . -type f -print | xargs grep -i -l '\<can not\>' | grep -v 
ChangeLog | fgrep -v ./.svn | grep -v 'configure$' | fgrep -v .pot | 
fgrep -v ./libsanitizer | fgrep -v ./zlib | xargs sed -i -e 's,\<can 
not\>,cannot,g' -e 's,\<Can not\>,Cannot,g' -e 's,\<CAN NOT\>,CANNOT,g' 
-e 's,\<can NOT\>,CANNOT,g'

I've excluded ChangeLogs (not interested in rewriting history), .svn 
(for obvious reasons), configure and .pot files (will be regenerated in 
subsequent parts), and libsanitizer and zlib (sources are imported from 
a master copy somewhere else).

Part 2 is the hand-written part, to fix up some instances of "can not" 
broken across lines not caught by the recipe above.

Part 3 regenerates the configure files, and part 4 the gcc.pot file.

Taken individually, all these changes probably qualify as obvious, but 
given how extensive they are and how many files are touched, I thought 
it would be good to get a sanity check on methodology before checking in 
the whole pile.  E.g. are there other files that should be excluded from 
the recipe for part 1?

I did some light testing on x86_64-linux-gnu (I'm not set up to build 
all the language front ends, but C and C++ bootstrap and regression-test 
fine).

-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cannot1.log
Type: text/x-log
Size: 11833 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181228/5d4d955d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cannot2.log
Type: text/x-log
Size: 700 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181228/5d4d955d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cannot3.log
Type: text/x-log
Size: 831 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181228/5d4d955d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cannot4.log
Type: text/x-log
Size: 107 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181228/5d4d955d/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cannot2.patch
Type: text/x-patch
Size: 12352 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181228/5d4d955d/attachment-0004.bin>


More information about the Gcc-patches mailing list