mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 17:52:27 +00:00
Rewrite special file handling on Windows
This change gets GNU grep working. What caused it to not work, is it wouldn't write to an output file descriptor when its dev/ino equaled /dev/null's. So now we invent special dev/ino values for these files
This commit is contained in:
parent
aca2261cda
commit
2db2f40a98
53 changed files with 485 additions and 299 deletions
|
@ -186,6 +186,7 @@ dontthrow nocallback;
|
|||
uint64_t tpenc(uint32_t) pureconst;
|
||||
char *chomp(char *) libcesque;
|
||||
wchar_t *wchomp(wchar_t *) libcesque;
|
||||
uint64_t __fnv(const void *, size_t) strlenesque;
|
||||
bool startswith(const char *, const char *) strlenesque;
|
||||
bool startswithi(const char *, const char *) strlenesque;
|
||||
bool endswith(const char *, const char *) strlenesque;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue