John Darrington <[email protected]> writes: > On Sun, Nov 14, 2010 at 08:38:07PM -0800, Ben Pfaff wrote: > > Those declarations have definitions in sys-file-encoding.c and > users in sys-file-private.c. sys-file-private.h is included by > both of those files, so if I screw up the uses in > sys-file-private.c or the definitions in sys-file-encoding.c, > then it will provoke a warning. But if I move the extern > declaration from sys-file-private.h into sys-file-private.c, then > it will cause segmentation faults (etc.) at runtime without any > compiler warnings. So I'd prefer to keep them in the header > file. > > OK. I didn't notice that it was accessed by both files. > > If I check in this code, will it help you? I'm happy to do so. > > Yes. Please do.
I pushed this as sent out earlier. I'll work on better number->name translation later. -- Ben Pfaff http://benpfaff.org _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
