mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-05 04:02:28 +00:00
Make more libc improvements
- Make memmem() faster - Make readdir() thread safe - Remove 64kb limit from mkdeps.com - Add old crypt() function from Musl - Improve new fix-third-party.py tool - Improve libc/isystem/ headers and fix bugs
This commit is contained in:
parent
a8cf0f7e89
commit
6a5717a48f
50 changed files with 3783 additions and 280 deletions
4
third_party/unzip/unix.c
vendored
4
third_party/unzip/unix.c
vendored
|
@ -134,8 +134,8 @@ static ZCONST char CannotSetTimestamps[] =
|
|||
#ifndef SFX
|
||||
#ifdef NO_DIR /* for AT&T 3B1 */
|
||||
|
||||
#define opendir(path) fopen(path,"r")
|
||||
#define closedir(dir) fclose(dir)
|
||||
#define _opendir(path) fopen(path,"r")
|
||||
#define _closedir(dir) fclose(dir)
|
||||
typedef FILE DIR;
|
||||
typedef struct zdir {
|
||||
FILE *dirhandle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue