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 Update. 1997-05-26 23:01:17 +00:00
ctermid.c Update. 1997-11-18 02:50:07 +00:00
cuserid.c Update. 1999-07-01 21:13:35 +00:00
defs.c Update. 1997-09-11 12:09:10 +00:00
dup2.c Update. 1997-06-23 21:55:26 +00:00
dup.c Update. 1997-05-26 23:01:17 +00:00
euidaccess.c Update. 2000-09-01 02:26:05 +00:00
fdopen.c Update. 1998-08-08 20:02:34 +00:00
flock.c Update. 1997-06-23 21:55:26 +00:00
fpathconf.c Update. 2001-01-25 10:25:08 +00:00
gai_strerror.c Update. 1999-06-19 09:58:37 +00:00
getaddrinfo.c Update. 2001-02-02 08:24:56 +00:00
getcwd.c Update. 1999-08-20 23:44:23 +00:00
getdtsz.c Update. 1997-06-23 21:55:26 +00:00
getpagesize.c Update. 1997-06-23 21:55:26 +00:00
gettimeofday.c Update. 1997-06-23 21:55:26 +00:00
isatty.c Update. 1998-10-22 11:49:29 +00:00
isfdtype.c Update. 2000-09-01 02:26:05 +00:00
killpg.c Update. 1997-06-23 21:55:26 +00:00
libc_fatal.c Update. 2000-04-22 07:19:25 +00:00
open64.c * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). 2000-07-12 17:39:24 +00:00
pathconf.c Update. 2001-01-25 10:25:08 +00:00
pipestream.c Update. 1997-09-11 12:09:10 +00:00
posix_fallocate64.c Update. 2000-08-21 04:18:25 +00:00
posix_fallocate.c Update. 2000-09-01 02:26:05 +00:00
pread64.c Update. 2000-03-16 07:08:42 +00:00
pread.c Update. 1999-12-19 05:29:07 +00:00
profil.c Update. 1998-12-17 13:58:32 +00:00
pwrite64.c Update. 2000-03-16 07:08:42 +00:00
pwrite.c Update. 1999-12-19 05:29:07 +00:00
raise.c update from main archive 961229 1996-12-30 01:47:46 +00:00
readv.c Update. 1997-03-21 20:00:48 +00:00
remove.c Update. 1997-06-23 21:55:26 +00:00
rename.c Update. 1997-06-23 21:55:26 +00:00
sigblock.c * posix/fnmatch_loop.c (FCT): Remove signed warnings. 2001-01-12 17:03:52 +00:00
sigignore.c Update. 1998-04-20 18:41:05 +00:00
sigintr.c update from main archive 961119 1996-11-20 03:45:51 +00:00
signal.c Update. 2000-09-06 21:12:53 +00:00
sigpause.c Update. 2000-12-27 07:56:28 +00:00
sigset.c Update. 2000-08-21 04:18:25 +00:00
sigsetmask.c * posix/fnmatch_loop.c (FCT): Remove signed warnings. 2001-01-12 17:03:52 +00:00
sigsuspend.c Update. 1998-07-20 17:25:48 +00:00
sigvec.c Update. 1998-06-07 14:06:56 +00:00
sigwait.c Update. 2000-02-15 02:00:33 +00:00
sleep.c Update. 1997-09-11 12:09:10 +00:00
stdio_init.c Update. 1997-09-11 12:09:10 +00:00
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 Update. 1997-11-22 18:49:27 +00:00
tempname.c Update. 2001-02-27 01:59:46 +00:00
truncate.c Update. 1997-06-23 21:55:26 +00:00
ttyname_r.c Update. 1998-07-16 11:44:36 +00:00
ttyname.c Update. 2000-08-15 06:12:25 +00:00
utimes.c Update. 2000-02-28 05:08:01 +00:00
vdprintf.c update from main archive 970209 1997-02-10 03:19:57 +00:00
wait3.c Update. 1999-07-27 05:00:18 +00:00
wait.c Update. 1997-06-23 21:55:26 +00:00
waitid.c Update. 2000-02-22 09:00:35 +00:00
writev.c Update. 1997-11-06 00:02:46 +00:00