glibc/misc
Ulrich Drepper 46c3f8cdb4 Update.
2001-02-26  Paul Eggert  <eggert@twinsun.com>

	Modify mkstemp.c and tempname.c so that they can be used by
	GNU applications on non-glibc platforms.

	* misc/mkstemp.c (__GT_FILE): Define to zero if not defined.

	* sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
	Include <stddef.h>, <stdint.h>, <string.h> only if
	STDC_HEADERS || _LIBC.
	Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
	Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
	Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
	(__set_errno): Define this macro if <errno.h> doesn't.
	(P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
	Define these macros if <stdio.h> doesn't.
	(S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
	Define these macros if <sys/stat.h> doesn't.
	Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
	(stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
	lxstat64, __xstat64): Define if not _LIBC.
	(struct_stat64): New macro.
	(direxists, __gen_tempname): Use it, to avoid a
	portability problem with Solaris 8.
	(__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
	(__gen_tempname): Invoke gettimeofday only if
	HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
	Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
	octal values like 0600.
2001-02-27 01:59:46 +00:00
..
bits Update. 1997-07-06 22:02:42 +00:00
sys Update. 2001-02-01 07:28:23 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
Makefile Update. 2000-11-01 08:10:10 +00:00
Versions Update. 2000-09-26 09:57:34 +00:00
ar.h Update. 1997-06-21 02:59:26 +00:00
daemon.c Update. 2000-10-28 00:45:40 +00:00
dirname.c Update. 2000-12-16 07:54:18 +00:00
efgcvt.c Update. 2000-12-16 07:54:18 +00:00
efgcvt_r.c Include <float.h>. 2001-01-27 10:54:50 +00:00
err.c Update. 1998-07-16 11:44:36 +00:00
err.h Update. 1999-10-09 21:56:43 +00:00
error.c Update. 2000-12-08 17:27:11 +00:00
error.h Update. 1997-06-21 02:59:26 +00:00
fstab.c Update. 2000-04-22 07:19:25 +00:00
fstab.h Update. 1999-10-09 21:56:43 +00:00
getpass.c Update. 1999-04-28 23:13:52 +00:00
getttyent.c Update. 1999-06-08 21:20:07 +00:00
getusershell.c Update. 2000-11-28 07:40:13 +00:00
hsearch.c Update. 1998-06-15 10:29:49 +00:00
hsearch_r.c Update. 1997-11-18 02:50:07 +00:00
init-misc.c Update. 1998-01-30 11:44:34 +00:00
insremque.c update from main archive 961105 1996-11-06 04:24:40 +00:00
libgen.h Update. 2000-02-23 06:02:09 +00:00
lsearch.c Update. 1998-01-21 17:04:36 +00:00
mkdtemp.c Update. 1999-07-06 16:26:03 +00:00
mkstemp.c Update. 2001-02-27 01:59:46 +00:00
mkstemp64.c Update. 2000-09-26 09:57:34 +00:00
mktemp.c Update. 2000-09-26 07:18:57 +00:00
mntent.c * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last 2000-07-14 07:42:07 +00:00
mntent.h Update. 1999-10-09 21:56:43 +00:00
mntent_r.c Update. 2000-11-28 07:40:13 +00:00
qefgcvt.c Update. 2000-12-16 07:54:18 +00:00
qefgcvt_r.c Update. 1999-07-29 22:34:58 +00:00
regexp.c Update. 2000-11-28 07:40:13 +00:00
regexp.h Update. 1999-10-09 21:56:43 +00:00
search.h Update. 2000-08-21 06:49:52 +00:00
sgtty.h Update. 1999-10-10 15:45:52 +00:00
stab.h Update. 1997-06-21 02:59:26 +00:00
syscall.h update from main archive 960107 1997-01-07 23:29:44 +00:00
sysexits.h Update. 1999-06-09 13:08:30 +00:00
syslog.c Update. 2000-06-15 03:28:04 +00:00
syslog.h initial import 1995-02-18 01:27:10 +00:00
tsearch.c Update. 2000-11-25 01:26:30 +00:00
tst-dirname.c Update. 2000-12-16 07:54:18 +00:00
tst-efgcvt.c Make local functions static. 2000-12-27 20:26:07 +00:00
tst-fdset.c Update. 1997-11-18 02:50:07 +00:00
tst-mntent.c Update. 1999-07-26 01:47:15 +00:00
tst-tsearch.c 2000-05-05 Andreas Jaeger <aj@suse.de> 2000-05-05 15:29:58 +00:00
ttyent.h Update. 1999-10-09 21:56:43 +00:00
ttyslot.c Update. 1999-06-08 21:20:07 +00:00
ustat.h Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-18 08:43:26 +00:00