g_build_filename() is NULL terminated, or (void *)0 with your coding style if you prefer. It currently works by luck on Linux/x86_64 because g_build_filename() args are <= 6, so they are all passed through registers.
Created attachment 20982 [details] Fix varargs terminator
Comment on attachment 20982 [details] Fix varargs terminator r=me The patch utility didn't like this, I had to hand apply it. Please check the formatting of the ChangeLog entry too next time. Thanks
Landed in r32913.