mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Remove dollars from system call support symbols
This commit is contained in:
parent
a8d7195777
commit
a37960a3af
743 changed files with 1380 additions and 2016 deletions
|
@ -58,7 +58,7 @@ ssize_t preadv(int fd, struct iovec *iovec, int count, int64_t off) {
|
|||
demodernize = true;
|
||||
} else {
|
||||
olderr = errno;
|
||||
rc = preadv$sysv(fd, iovec, count, off);
|
||||
rc = sys_preadv(fd, iovec, count, off);
|
||||
if (rc == -1 && errno == ENOSYS) {
|
||||
errno = olderr;
|
||||
demodernize = true;
|
||||
|
@ -71,7 +71,7 @@ ssize_t preadv(int fd, struct iovec *iovec, int count, int64_t off) {
|
|||
}
|
||||
|
||||
if (!demodernize) {
|
||||
return preadv$sysv(fd, iovec, count, off);
|
||||
return sys_preadv(fd, iovec, count, off);
|
||||
} else {
|
||||
return pread(fd, iovec[0].iov_base, iovec[0].iov_len, off);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue