glibc/sysdeps/posix
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
..
clock_getres.c Update. 2001-01-28 00:00:08 +00:00
clock.c
ctermid.c
cuserid.c
defs.c
dup2.c
dup.c
euidaccess.c Update. 2000-09-01 02:26:05 +00:00
fdopen.c
flock.c
fpathconf.c Update. 2001-01-25 10:25:08 +00:00
gai_strerror.c
getaddrinfo.c Update. 2001-02-02 08:24:56 +00:00
getcwd.c
getdtsz.c
getpagesize.c
gettimeofday.c
isatty.c
isfdtype.c Update. 2000-09-01 02:26:05 +00:00
killpg.c
libc_fatal.c
open64.c
pathconf.c Update. 2001-01-25 10:25:08 +00:00
pipestream.c
posix_fallocate64.c
posix_fallocate.c Update. 2000-09-01 02:26:05 +00:00
pread64.c
pread.c
profil.c
pwrite64.c
pwrite.c
raise.c
readv.c
remove.c
rename.c
sigblock.c * posix/fnmatch_loop.c (FCT): Remove signed warnings. 2001-01-12 17:03:52 +00:00
sigignore.c
sigintr.c
signal.c Update. 2000-09-06 21:12:53 +00:00
sigpause.c Update. 2000-12-27 07:56:28 +00:00
sigset.c
sigsetmask.c * posix/fnmatch_loop.c (FCT): Remove signed warnings. 2001-01-12 17:03:52 +00:00
sigsuspend.c
sigvec.c
sigwait.c
sleep.c
stdio_init.c
sysconf.c Update. 2001-01-25 18:40:46 +00:00
system.c Update. 2000-08-25 19:02:14 +00:00
sysv_signal.c
tempname.c Update. 2001-02-27 01:59:46 +00:00
truncate.c
ttyname_r.c
ttyname.c
utimes.c
vdprintf.c
wait3.c
wait.c
waitid.c
writev.c