John Darrington <[EMAIL PROTECTED]> writes: > See the earlier discussion about list.q --- I think in that particular > case (and possibly in any others) the best thing to do would be to > truncate the string to fit the buffer. Anyone who generates tables > using rediculously long strings is asking for trouble.
That might be a reasonable thing to do. I had occasion to look at list.q in a little more detail recently, though, and I think that in fact it should be changed to not allocate its buffers in such a stupid way. In fact, it looks like most or all users of nsprintf() or spprintf() should really be using `struct string' these days. -- Ben Pfaff email: [EMAIL PROTECTED] web: http://benpfaff.org _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
