[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] mkstemp
From: |
Derek Robert Price |
Subject: |
[Bug-gnulib] mkstemp |
Date: |
Tue, 19 Aug 2003 16:53:41 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
mkstemp.m4 currently checks via AC_TRY_RUN that mkstemp can create 30
consecutive files. Would it be reasonable to want to check that one has
mode 0600? This is the current comment and handling in CVS:
~ . . .
~ if (fp == NULL) free (fn);
~ #if (__GLIBC__ - 0 < 2 || __GLIBC__ - 0 == 2 && __GLIBC_MINOR__ - 0
== 0)
~ /* mkstemp is defined to open mode 0600 using glibc 2.0.7+ */
~ else chmod (fn, 0600);
~ #endif /* GLIBC API version <= 2.0 */
~ . . .
Has anyone heard of similar broken mkstemp implementations or is it only
GLIBC? I haven't found anything recent in the archives.
Derek
- --
~ *8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
- --
"Very funny Scotty, now beam down my clothes!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/Qo5ULD1OTBfyMaQRAjWnAKCsqNEsv3tPKx+4IPw5GvlhlAj38QCgkTWc
7RdkYFpCzclJ2j0DpZUeQrI=
=sBFz
-----END PGP SIGNATURE-----
- [Bug-gnulib] mkstemp,
Derek Robert Price <=