mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Fix some more issues
- ARM Neon headers are now exported in libc/isystem/ - stat() and access() now do a better job reporting which files are executable which ones aren't. They do this by reading the first two bytes in a file to see if it's `MZ` or `#!`.
This commit is contained in:
parent
22cf6e11eb
commit
4f5d5a6813
17 changed files with 144 additions and 49 deletions
|
@ -47,7 +47,7 @@ dos kNtErrorGenFailure EACCES
|
|||
dos kNtErrorGracefulDisconnect EPIPE
|
||||
dos kNtErrorHostDown EHOSTUNREACH
|
||||
dos kNtErrorHostUnreachable EHOSTUNREACH
|
||||
dos kNtErrorInsufficientBuffer EFAULT
|
||||
dos kNtErrorInsufficientBuffer ENOBUFS
|
||||
dos kNtErrorNoaccess EFAULT
|
||||
dos kNtErrorInvalidAddress EADDRNOTAVAIL
|
||||
dos kNtErrorNotAReparsePoint EINVAL
|
||||
|
|
|
@ -11,6 +11,5 @@
|
|||
.globl kDos2Errno.EFAULT
|
||||
.type kDos2Errno.EFAULT,@object
|
||||
kDos2Errno.EFAULT:
|
||||
.e kNtErrorInsufficientBuffer,EFAULT
|
||||
.e kNtErrorNoaccess,EFAULT
|
||||
.e WSAEFAULT,EFAULT
|
||||
|
|
14
libc/sysv/dos2errno/ENOBUFS.S
Normal file
14
libc/sysv/dos2errno/ENOBUFS.S
Normal file
|
@ -0,0 +1,14 @@
|
|||
// generated by libc/sysv/dos2errno.sh
|
||||
#include "libc/nt/errors.h"
|
||||
#ifndef __x86_64__
|
||||
.end
|
||||
#endif
|
||||
.macro .e doscode systemv
|
||||
.short \doscode
|
||||
.long \systemv
|
||||
.endm
|
||||
.section .sort.rodata.dos2errno.2,"a",@progbits
|
||||
.globl kDos2Errno.ENOBUFS
|
||||
.type kDos2Errno.ENOBUFS,@object
|
||||
kDos2Errno.ENOBUFS:
|
||||
.e kNtErrorInsufficientBuffer,ENOBUFS
|
Loading…
Add table
Add a link
Reference in a new issue