mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Introduce COSMOPOLITAN_DISABLE_ZIPOS environ var
This commit is contained in:
parent
8d1c81ac9f
commit
04bd488da7
2 changed files with 41 additions and 33 deletions
|
@ -29,6 +29,7 @@ ssize_t __zipos_parseuri(const char *uri, struct ZiposUri *out) {
|
|||
uri[2] == 'i' && //
|
||||
uri[3] == 'p' && //
|
||||
(!uri[4] || uri[4] == '/')) &&
|
||||
__zipos_get() &&
|
||||
(len = __zipos_normpath(out->path, uri + 4 + !!uri[4],
|
||||
sizeof(out->path))) < sizeof(out->path)) {
|
||||
return (out->len = len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue