lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Vogler wrote:
[...]
> Problem is that in some libraries it does not. :-(
> 
> So, what can one do?

Complain, I'm afraid.

The only possible excuse for reinventing the wheel is if you're on a cart
that has no wheels --- and even then, you want to give people the option of
using the wheels provided rather than forcing them to use yours. tmpfile()
is in tonnes of standards, including Posix and C99, so if your platform
doesn't support it it's the *platform's* fault.

That doesn't mean to say that it's any less annoying, and that it means you
have to ship your own version just in case the platform doesn't have one or
if it's broken, but your own version should be used strictly as a last resort.

- --
+- David Given --McQ-+ "If you're up against someone more intelligent
|  dg@cowlark.com    | than you are, do something insane and let him think
| (dg@tao-group.com) | himself to death." --- Pyanfar Chanur
+- www.cowlark.com --+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEQWp2f9E0noFvlzgRAnS4AJ9rjMwJanAwkgQ+Z+xcTe9XSITUYQCgmejQ
bTWmQ5rkeT6uHIS9+oQnevI=
=erRd
-----END PGP SIGNATURE-----