Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mktemp POSIX (and Linux) divergence
Kia ora,
In one out of one samples I checked, the result of mktemp was only
checked for != NULL rather than a more robust check. That same sample
(xsrc/external/mit/smproxy/dist/save.c) also preferred to use mkstemp.
mktemp() got removed from POSIX because using it is just wrong. Given
how much work NetBSD and the external source maintainers have clearly
put into removing uses of mktemp() IMHO I don't think fiddling with it
is warranted.
Ngā mihi,
Lloyd
Home |
Main Index |
Thread Index |
Old Index