[cairo] check-headers.sh not working on OS X

Behdad Esfahbod behdad at behdad.org
Mon Oct 2 11:46:02 PDT 2006


On Sat, 2006-09-30 at 14:22 -0400, Ian Osgood wrote:
> -/-cairo_public\>/ {public=1;}
> +/-cairo_public/ {public=1;}

I don't see how this can fix it unless the awk version on your system
being really ancient.  Anyway, I pushed a change that should fix it.
Basically:'

-/-cairo_public\>/ {public=1;}
+/-cairo_public[        ]/ {public=1;}


>   { context=$0; }
>   ' |
>   sed 's/[.]h-/.h:/' |
> 
> 
> Also, is it better style to use [[:blank:]] instead of [space-tab]?

Better style, maybe.  More portable, no.  And we really only expect
space or tab there, not any other blank char.

-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list