Hi all,
Wrote a small script to find missing 'static's in my module -
https://github.com/kaltura/nginx-vod-module/blob/master/test/test_static.py
I executed it on nginx core and found a few of those too, see attached patch.
The logic for finding these was -
1. An exported symbol (found by running readelf on all object files)
2. Appears only in one source file (I could have checked the object imports instead, but anyway,
that's how it works...)
3. Not mentioned in any header file (simple 'find whole words' search)
4. Does not end with '_module'
Btw, the script also complained about ngx_noaccepting and ngx_restart, I did not change those since
all other flags there are exported.
Thanks!
Eran
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel