Add missing ICANON features

This commit is contained in:
Justine Tunney 2024-09-05 03:17:19 -07:00
parent dd8544c3bd
commit 03875beadb
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
22 changed files with 526 additions and 251 deletions

View file

@ -23,9 +23,8 @@
int __zipos_notat(int dirfd, const char *path) {
struct ZiposUri zipname;
if (!path)
return efault();
if (__isfdkind(dirfd, kFdZip) || __zipos_parseuri(path, &zipname) != -1) {
return einval();
}
return 0;
if (__isfdkind(dirfd, kFdZip) || __zipos_parseuri(path, &zipname) != -1)
return -1;
return 0;
}