Menu

Commit [r86]  Maximize  Restore  History

- mktemp() was broken in libunix.a with Unix path semantics enabled.

This was because the name template was translated and translated
back again, overwriting the translation buffer. This, funny enough,
broke Samba's printing feature. Fixed by translating the name only
before each test for "uniqueness" is made. The new code also handles
empty "" templates gracefully, which was a problem with both the
"standard" and the Unix path semantics flavour.

Why is it that I find bugs like this always after having just
released another library update?

obarthel 2004-11-10

changed /trunk/library/changes
changed /trunk/library/stdlib_mktemp.c
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_mktemp.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.