glibc/sysdeps
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
..
alpha Update. 2001-02-09 05:33:59 +00:00
am29k Update. 1998-03-09 09:11:57 +00:00
arm Update. 2001-02-05 06:01:54 +00:00
generic Update. 2001-02-26 17:53:15 +00:00
gnu Update. 2001-02-13 22:17:17 +00:00
hppa Update. 2001-01-31 06:36:39 +00:00
i386 Update. 2001-02-26 20:19:49 +00:00
i860 Update. 1997-06-23 21:55:26 +00:00
i960 Update. 1999-07-14 00:54:57 +00:00
ia64 Update. 2001-02-26 20:19:49 +00:00
ieee754 Update. 2001-02-26 20:19:49 +00:00
m68k Update. 2001-02-17 16:54:13 +00:00
m88k Update. 1998-03-09 09:11:57 +00:00
mach Regenerated from ../sysdeps/mach/hurd/errnos.awk ../manual/errno.texi /home/roland/gnu/build/libc/config.h /usr/i386-gnu/include/mach/message.h /usr/i386-gnu/include/mach/kern_return.h /usr/i386-gnu/include/mach/machine/kern_return.h /usr/i386-gnu/include/mach/port.h /usr/i386-gnu/include/mach/boolean.h /usr/i386-gnu/include/mach/machine/boolean.h /usr/i386-gnu/include/mach/machine/vm_types.h /usr/i386-gnu/include/mach/mig_errors.h /usr/i386-gnu/include/device/device_types.h /usr/i386-gnu/include/mach/std_types.h /home/roland/gnu/build/libc/errnos.d 2001-02-26 00:56:51 +00:00
mips * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to 2001-02-22 08:27:50 +00:00
posix Update. 2001-02-27 01:59:46 +00:00
powerpc Update. 2001-02-23 22:34:22 +00:00
rs6000 Update. 1998-03-09 09:11:57 +00:00
s390 Update. 2001-01-31 06:36:39 +00:00
sh Update. 2001-02-09 05:33:59 +00:00
sparc Update. 2001-02-09 17:13:50 +00:00
standalone Update. 1999-02-07 12:50:11 +00:00
tahoe update from main archive 960909 1996-09-10 02:00:15 +00:00
unix Update. 2001-02-23 20:29:25 +00:00
vax update 2000-07-26 18:21:25 +00:00
wordsize-32 Update. 2000-09-01 06:39:10 +00:00
wordsize-64 Update. 2001-01-05 01:01:31 +00:00
z8000 Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00