mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* errno.cc (errmap): Sort table.
This commit is contained in:
parent
7b076c36fc
commit
06e0dc9a46
@ -1,3 +1,7 @@
|
||||
2005-04-30 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* errno.cc (errmap): Sort table.
|
||||
|
||||
2005-04-29 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.
|
||||
|
@ -35,102 +35,102 @@ static NO_COPY struct
|
||||
} errmap[] =
|
||||
{
|
||||
/* FIXME: Some of these choices are arbitrary! */
|
||||
X (INVALID_FUNCTION, EBADRQC),
|
||||
X (FILE_NOT_FOUND, ENOENT),
|
||||
X (PATH_NOT_FOUND, ENOENT),
|
||||
X (TOO_MANY_OPEN_FILES, EMFILE),
|
||||
X (ACCESS_DENIED, EACCES),
|
||||
X (INVALID_HANDLE, EBADF),
|
||||
X (NOT_ENOUGH_MEMORY, ENOMEM),
|
||||
X (INVALID_DATA, EINVAL),
|
||||
X (OUTOFMEMORY, ENOMEM),
|
||||
X (INVALID_DRIVE, ENODEV),
|
||||
X (NOT_SAME_DEVICE, EXDEV),
|
||||
X (NO_MORE_FILES, ENMFILE),
|
||||
X (WRITE_PROTECT, EROFS),
|
||||
X (BAD_UNIT, ENODEV),
|
||||
X (SHARING_VIOLATION, EBUSY),
|
||||
X (LOCK_VIOLATION, EACCES),
|
||||
X (SHARING_BUFFER_EXCEEDED, ENOLCK),
|
||||
X (HANDLE_EOF, ENODATA),
|
||||
X (HANDLE_DISK_FULL, ENOSPC),
|
||||
X (NOT_SUPPORTED, ENOSYS),
|
||||
X (REM_NOT_LIST, ENONET),
|
||||
X (DUP_NAME, ENOTUNIQ),
|
||||
X (ACTIVE_CONNECTIONS, EAGAIN),
|
||||
X (ALREADY_EXISTS, EEXIST),
|
||||
X (BAD_DEVICE, ENODEV),
|
||||
X (BAD_NETPATH, ENOSHARE),
|
||||
X (BAD_NET_NAME, ENOSHARE),
|
||||
X (FILE_EXISTS, EEXIST),
|
||||
X (CANNOT_MAKE, EPERM),
|
||||
X (INVALID_PARAMETER, EINVAL),
|
||||
X (NO_PROC_SLOTS, EAGAIN),
|
||||
X (BROKEN_PIPE, EPIPE),
|
||||
X (OPEN_FAILED, EIO),
|
||||
X (NO_MORE_SEARCH_HANDLES, ENFILE),
|
||||
X (CALL_NOT_IMPLEMENTED, ENOSYS),
|
||||
X (INVALID_NAME, ENOENT),
|
||||
X (WAIT_NO_CHILDREN, ECHILD),
|
||||
X (CHILD_NOT_COMPLETE, EBUSY),
|
||||
X (DIR_NOT_EMPTY, ENOTEMPTY),
|
||||
X (SIGNAL_REFUSED, EIO),
|
||||
X (BAD_PATHNAME, ENOENT),
|
||||
X (SIGNAL_PENDING, EBUSY),
|
||||
X (MAX_THRDS_REACHED, EAGAIN),
|
||||
X (BUSY, EBUSY),
|
||||
X (ALREADY_EXISTS, EEXIST),
|
||||
X (NO_SIGNAL_SENT, EIO),
|
||||
X (FILENAME_EXCED_RANGE, ENAMETOOLONG),
|
||||
X (META_EXPANSION_TOO_LONG, EINVAL),
|
||||
X (INVALID_SIGNAL_NUMBER, EINVAL),
|
||||
X (THREAD_1_INACTIVE, EINVAL),
|
||||
X (BAD_PIPE, EINVAL),
|
||||
X (PIPE_BUSY, EBUSY),
|
||||
X (NO_DATA, EPIPE),
|
||||
X (PIPE_NOT_CONNECTED, ECOMM),
|
||||
X (MORE_DATA, EAGAIN),
|
||||
X (DIRECTORY, ENOTDIR),
|
||||
X (PIPE_CONNECTED, EBUSY),
|
||||
X (PIPE_LISTENING, ECOMM),
|
||||
X (NO_TOKEN, EINVAL),
|
||||
X (PROCESS_ABORTED, EFAULT),
|
||||
X (BAD_DEVICE, ENODEV),
|
||||
X (BAD_UNIT, ENODEV),
|
||||
X (BAD_USERNAME, EINVAL),
|
||||
X (NOT_CONNECTED, ENOLINK),
|
||||
X (OPEN_FILES, EAGAIN),
|
||||
X (ACTIVE_CONNECTIONS, EAGAIN),
|
||||
X (BEGINNING_OF_MEDIA, EIO),
|
||||
X (BROKEN_PIPE, EPIPE),
|
||||
X (BUSY, EBUSY),
|
||||
X (BUS_RESET, EIO),
|
||||
X (CALL_NOT_IMPLEMENTED, ENOSYS),
|
||||
X (CANNOT_MAKE, EPERM),
|
||||
X (CHILD_NOT_COMPLETE, EBUSY),
|
||||
X (COMMITMENT_LIMIT, EAGAIN),
|
||||
X (CRC, EIO),
|
||||
X (DEVICE_DOOR_OPEN, EIO),
|
||||
X (DEVICE_IN_USE, EAGAIN),
|
||||
X (INVALID_AT_INTERRUPT_TIME, EINTR),
|
||||
X (IO_DEVICE, EIO),
|
||||
X (NOT_OWNER, EPERM),
|
||||
X (DEVICE_REQUIRES_CLEANING, EIO),
|
||||
X (DIRECTORY, ENOTDIR),
|
||||
X (DIR_NOT_EMPTY, ENOTEMPTY),
|
||||
X (DISK_CORRUPT, EIO),
|
||||
X (DISK_FULL, ENOSPC),
|
||||
X (DUP_NAME, ENOTUNIQ),
|
||||
X (END_OF_MEDIA, ENOSPC),
|
||||
X (EOM_OVERFLOW, EIO),
|
||||
X (BEGINNING_OF_MEDIA, EIO),
|
||||
X (SETMARK_DETECTED, EIO),
|
||||
X (NO_DATA_DETECTED, EIO),
|
||||
X (POSSIBLE_DEADLOCK, EDEADLOCK),
|
||||
X (CRC, EIO),
|
||||
X (NEGATIVE_SEEK, EINVAL),
|
||||
X (NOT_READY, ENOMEDIUM),
|
||||
X (DISK_FULL, ENOSPC),
|
||||
X (NOACCESS, EFAULT),
|
||||
X (FILE_INVALID, ENXIO),
|
||||
X (INVALID_ADDRESS, EINVAL),
|
||||
X (INVALID_BLOCK_LENGTH, EIO),
|
||||
X (BUS_RESET, EIO),
|
||||
X (FILEMARK_DETECTED, EIO),
|
||||
X (NO_MEDIA_IN_DRIVE, ENOMEDIUM),
|
||||
X (DEVICE_REQUIRES_CLEANING, EIO),
|
||||
X (DEVICE_DOOR_OPEN, EIO),
|
||||
X (FILENAME_EXCED_RANGE, ENAMETOOLONG),
|
||||
X (FILE_EXISTS, EEXIST),
|
||||
X (FILE_INVALID, ENXIO),
|
||||
X (FILE_NOT_FOUND, ENOENT),
|
||||
X (HANDLE_DISK_FULL, ENOSPC),
|
||||
X (HANDLE_EOF, ENODATA),
|
||||
X (INVALID_ADDRESS, EINVAL),
|
||||
X (INVALID_AT_INTERRUPT_TIME, EINTR),
|
||||
X (INVALID_BLOCK_LENGTH, EIO),
|
||||
X (INVALID_DATA, EINVAL),
|
||||
X (INVALID_DRIVE, ENODEV),
|
||||
X (INVALID_FUNCTION, EBADRQC),
|
||||
X (INVALID_HANDLE, EBADF),
|
||||
X (INVALID_NAME, ENOENT),
|
||||
X (INVALID_PARAMETER, EINVAL),
|
||||
X (INVALID_SIGNAL_NUMBER, EINVAL),
|
||||
X (IO_DEVICE, EIO),
|
||||
X (IO_PENDING, EAGAIN),
|
||||
X (TOO_MANY_LINKS, EMLINK),
|
||||
X (PROC_NOT_FOUND, ESRCH),
|
||||
X (DISK_CORRUPT, EIO),
|
||||
X (NO_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (NONPAGED_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (PAGED_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (WORKING_SET_QUOTA, EAGAIN),
|
||||
X (PAGEFILE_QUOTA, EAGAIN),
|
||||
X (COMMITMENT_LIMIT, EAGAIN),
|
||||
X (LOCK_VIOLATION, EACCES),
|
||||
X (MAX_THRDS_REACHED, EAGAIN),
|
||||
X (META_EXPANSION_TOO_LONG, EINVAL),
|
||||
X (MORE_DATA, EAGAIN),
|
||||
X (NEGATIVE_SEEK, EINVAL),
|
||||
X (NETNAME_DELETED, ENOSHARE),
|
||||
X (NOACCESS, EFAULT),
|
||||
X (NONPAGED_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (NOT_CONNECTED, ENOLINK),
|
||||
X (NOT_ENOUGH_MEMORY, ENOMEM),
|
||||
X (NOT_OWNER, EPERM),
|
||||
X (NOT_READY, ENOMEDIUM),
|
||||
X (NOT_SAME_DEVICE, EXDEV),
|
||||
X (NOT_SUPPORTED, ENOSYS),
|
||||
X (NO_DATA, EPIPE),
|
||||
X (NO_DATA_DETECTED, EIO),
|
||||
X (NO_MEDIA_IN_DRIVE, ENOMEDIUM),
|
||||
X (NO_MORE_FILES, ENMFILE),
|
||||
X (NO_MORE_SEARCH_HANDLES, ENFILE),
|
||||
X (NO_PROC_SLOTS, EAGAIN),
|
||||
X (NO_SIGNAL_SENT, EIO),
|
||||
X (NO_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (NO_TOKEN, EINVAL),
|
||||
X (OPEN_FAILED, EIO),
|
||||
X (OPEN_FILES, EAGAIN),
|
||||
X (OUTOFMEMORY, ENOMEM),
|
||||
X (PAGED_SYSTEM_RESOURCES, EAGAIN),
|
||||
X (PAGEFILE_QUOTA, EAGAIN),
|
||||
X (PATH_NOT_FOUND, ENOENT),
|
||||
X (PIPE_BUSY, EBUSY),
|
||||
X (PIPE_CONNECTED, EBUSY),
|
||||
X (PIPE_LISTENING, ECOMM),
|
||||
X (PIPE_NOT_CONNECTED, ECOMM),
|
||||
X (POSSIBLE_DEADLOCK, EDEADLOCK),
|
||||
X (PROCESS_ABORTED, EFAULT),
|
||||
X (PROC_NOT_FOUND, ESRCH),
|
||||
X (REM_NOT_LIST, ENONET),
|
||||
X (SETMARK_DETECTED, EIO),
|
||||
X (SHARING_BUFFER_EXCEEDED, ENOLCK),
|
||||
X (SHARING_VIOLATION, EBUSY),
|
||||
X (SIGNAL_PENDING, EBUSY),
|
||||
X (SIGNAL_REFUSED, EIO),
|
||||
X (THREAD_1_INACTIVE, EINVAL),
|
||||
X (TOO_MANY_LINKS, EMLINK),
|
||||
X (TOO_MANY_OPEN_FILES, EMFILE),
|
||||
X (WAIT_NO_CHILDREN, ECHILD),
|
||||
X (WORKING_SET_QUOTA, EAGAIN),
|
||||
X (WRITE_PROTECT, EROFS),
|
||||
{ 0, NULL, 0}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user