locale-info in fns.c has this fragment:
/* LC_PAPER stuff isn't defined as accessible in glibc as of 2.3.1,
but is in the locale files. This could be used by ps-print. */
#ifdef PAPER_WIDTH
else if (EQ (item, Qpaper))
return list2i (nl_langinfo (PAPER_WIDTH), nl_langinfo (PAPER_HEIGHT));
#endif /* PAPER_WIDTH */
This seems wrong, since nl_langinfo returns a 'char *' pointer, not an
integer. Right? (I don't think there's any platform which actually
supports PAPER_WIDTH and PAPER_HEIGHT, but still...)