Fix bug with temporary files on Windows

This commit is contained in:
Justine Tunney 2023-08-13 07:10:14 -07:00
parent ab9a284640
commit 6942d7b820
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
45 changed files with 55 additions and 58 deletions

View file

@ -71,22 +71,27 @@ COSMOPOLITAN_C_END_
#define SIGXCPU 24
#define SIGXFSZ 25
/*
* - No macro is define for SIGIO and SIGPOLL in order to persuade
* ./configure scripts to favor using poll() or select() instead of
* interrupt-based i/o.
*
* - No macros are defined for SIGRTMIN and SIGRTMAX because the project
* hasn't fleshed them out yet.
*
* - SIGTHR doesn't have a macro since it's internal to posix threads.
*/
#define SIGBUS SIGBUS
#define SIGTHR SIGTHR
#define SIGCHLD SIGCHLD
#define SIGCONT SIGCONT
#define SIGEMT SIGEMT
#define SIGINFO SIGINFO
#define SIGIO SIGIO
#define SIGPOLL SIGPOLL
#define SIGPWR SIGPWR
#define SIGRTMAX SIGRTMAX
#define SIGRTMIN SIGRTMIN
#define SIGSTKFLT SIGSTKFLT
#define SIGSTOP SIGSTOP
#define SIGSYS SIGSYS
#define SIGTSTP SIGTSTP
#define SIGUNUSED SIGUNUSED
#define SIGURG SIGURG
#define SIGUSR1 SIGUSR1
#define SIGUSR2 SIGUSR2
@ -95,6 +100,4 @@ COSMOPOLITAN_C_END_
#define SIG_SETMASK SIG_SETMASK
#define SIG_UNBLOCK SIG_UNBLOCK
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SIG_H_ */