mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 14:28:30 +00:00
Make improvements
- Add rusage to redbean Lua API - Add more redbean documentation - Add pledge() to redbean Lua API - Polyfill OpenBSD pledge() for Linux - Increase PATH_MAX limit to 1024 characters - Untrack sibling processes after fork() on Windows
This commit is contained in:
parent
9a6bd304a5
commit
47b3274665
212 changed files with 2251 additions and 834 deletions
20
third_party/zip/unix.c
vendored
20
third_party/zip/unix.c
vendored
|
@ -10,28 +10,16 @@
|
|||
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
|
||||
*/
|
||||
#include "libc/calls/struct/dirent.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "third_party/zip/zip.h"
|
||||
|
||||
#ifndef UTIL /* the companion #endif is a bit of ways down ... */
|
||||
|
||||
#include "libc/time/time.h"
|
||||
#include "libc/sysv/consts/_posix.h"
|
||||
#include "libc/calls/struct/stat.macros.h"
|
||||
|
||||
#if defined(MINIX) || defined(__mpexl)
|
||||
# ifdef S_IWRITE
|
||||
# undef S_IWRITE
|
||||
# endif /* S_IWRITE */
|
||||
# define S_IWRITE S_IWUSR
|
||||
#endif /* MINIX */
|
||||
|
||||
#if (!defined(S_IWRITE) && defined(S_IWUSR))
|
||||
# define S_IWRITE S_IWUSR
|
||||
#endif
|
||||
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/sysv/consts/dt.h"
|
||||
|
||||
#ifndef UTIL /* the companion #endif is a bit of ways down ... */
|
||||
|
||||
#define PAD 0
|
||||
#define PATH_END '/'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue