Comment 8 for bug 514295

Revision history for this message
Jon TURNEY (jon-turney) wrote :

To test the checking for translatable files not listed in POTFILES.in/POTFILES.skip I added an extra file 'blah.c' containing just 'GetString (_("something"));'

This checking is broken in r702. I think this is because the buf_allfiles array is passed by value to the new AddFileToListIfMissing() function, so that has no effect on it.

With the attached patch to fix that, translatable file checking seems to work correctly with or without srcdir being set.