Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
99a01c03
Commit
99a01c03
authored
Jan 02, 2004
by
Wim Lewis
Committed by
Alexandre Julliard
Jan 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EOVERFLOW does not exist on OpenBSD.
parent
56f85215
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
fd.c
server/fd.c
+2
-0
file.c
server/file.c
+2
-0
No files found.
server/fd.c
View file @
99a01c03
...
...
@@ -501,7 +501,9 @@ static int set_unix_lock( struct fd *fd, file_pos_t start, file_pos_t end, int t
if
(
fl
.
l_type
==
F_WRLCK
)
return
1
;
set_error
(
STATUS_ACCESS_DENIED
);
return
0
;
#ifdef EOVERFLOW
case
EOVERFLOW
:
#endif
case
EINVAL
:
/* this can happen if off_t is 64-bit but the kernel only supports 32-bit */
/* in that case we shrink the limit and retry */
...
...
server/file.c
View file @
99a01c03
...
...
@@ -462,7 +462,9 @@ void file_set_error(void)
case
ESPIPE
:
set_win32_error
(
ERROR_SEEK
);
break
;
case
ENOTEMPTY
:
set_error
(
STATUS_DIRECTORY_NOT_EMPTY
);
break
;
case
EIO
:
set_error
(
STATUS_ACCESS_VIOLATION
);
break
;
#ifdef EOVERFLOW
case
EOVERFLOW
:
set_error
(
STATUS_INVALID_PARAMETER
);
break
;
#endif
default:
perror
(
"file_set_error"
);
set_win32_error
(
ERROR_UNKNOWN
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment