Am Dienstag, den 18.01.2011, 14:17 +0100 schrieb Patrick Georgi:
I guess TMPFILE_LEN used to work because it usually ends up as a short name in /tmp/, 20 characters or less. But you're right, this needs fixing.
Actually I'm mistaken on that - it's a relative path (but outside /tmp), which should save us in most situations, but it's usually more than 20 bytes.
I simply give it 25600 bytes now, which should be enough for everyone[tm]. Also moved to using snprintf to prevent the string from exceeding its assigned space (and other nastiness).
Committed as r6268, every other problem can be fixed on top of that :)
Thanks for the review!
Patrick