server: Add status code for ELOOP error.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-12-11 10:28:49 +01:00
parent 427ad8abe8
commit b851f1ca2b
2 changed files with 2 additions and 0 deletions

View File

@ -678,6 +678,7 @@ void file_set_error(void)
case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break;
case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break;
case EXDEV: set_error( STATUS_NOT_SAME_DEVICE ); break;
case ELOOP: set_error( STATUS_REPARSE_POINT_NOT_RESOLVED ); break;
#ifdef EOVERFLOW
case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
#endif

View File

@ -5619,6 +5619,7 @@ static const struct
{ "PROCESS_IN_JOB", STATUS_PROCESS_IN_JOB },
{ "PROCESS_IS_TERMINATING", STATUS_PROCESS_IS_TERMINATING },
{ "PROCESS_NOT_IN_JOB", STATUS_PROCESS_NOT_IN_JOB },
{ "REPARSE_POINT_NOT_RESOLVED", STATUS_REPARSE_POINT_NOT_RESOLVED },
{ "SECTION_TOO_BIG", STATUS_SECTION_TOO_BIG },
{ "SEMAPHORE_LIMIT_EXCEEDED", STATUS_SEMAPHORE_LIMIT_EXCEEDED },
{ "SHARING_VIOLATION", STATUS_SHARING_VIOLATION },