[PATCH] all arches: c89 touchup

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Sep 30 18:41:49 UTC 2008


On Tue, Sep 30, 2008 at 02:10:11PM -0400, Chase Douglas wrote:
> On Sep 30, 2008, at 1:09 PM, Bernhard Reutner-Fischer wrote:
>> To be gentle to c89 bootstrap-compilers the attached patch does
>> basically s/\/\/\(.*\)/\/*\1 *\//g
>
> Just to clarify for reading, the replacement could be noted as s#//\(.* 
> \)#/*\1 */#g. Basically, turning the single line style comment into a /* 
> */ style comment.

yes, sorry. I'm used to it. Of course you can use a different char to
avoid escaping the slash.



More information about the uClibc mailing list