GNOME Bugzilla – Bug 311777
[build] check for "endianness" vs. "endianess"
Last modified: 2005-07-28 16:33:18 UTC
I just spent 2 hours tracking down a bug due to the fact that some caps used a field named "endianess" while it should be "endianness" with two 'n'. Grepping through gst-plugins-0.8 I found the same mistake in ximagesrc. I think it's worth adding a hook to 'make check' or 'make dist-check' in both gst-plugins and gst-plugins-base that checks whether any of our .c files contains the wrong string 'endianess', just to prevent anyone else from making this mistake. Shouldn't take more than a $(EGREP) endianess `find $(top_srcdir) -name '*.c'` with the right return value magic in Makefile.am (can't figure out the right syntax though). Cheers -Tim
gst-lint is your toy :).
Done in CVS (by tim), closing...