Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9df97676
Commit
9df97676
authored
Oct 06, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Remove the obsolete O_LARGEFILE define.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
207068c4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
file.c
dlls/ntdll/unix/file.c
+1
-1
port.h
include/wine/port.h
+0
-5
device.c
server/device.c
+1
-2
file.c
server/file.c
+1
-1
No files found.
dlls/ntdll/unix/file.c
View file @
9df97676
...
...
@@ -1172,7 +1172,7 @@ static BOOLEAN get_dir_case_sensitivity_stat( const char *dir )
struct
stat
st
;
int
fd
,
flags
;
if
((
fd
=
open
(
dir
,
O_RDONLY
|
O_NONBLOCK
|
O_LARGEFILE
))
==
-
1
)
if
((
fd
=
open
(
dir
,
O_RDONLY
|
O_NONBLOCK
))
==
-
1
)
return
TRUE
;
if
(
ioctl
(
fd
,
EXT2_IOC_GETFLAGS
,
&
flags
)
!=
-
1
&&
(
flags
&
EXT4_CASEFOLD_FL
))
...
...
include/wine/port.h
View file @
9df97676
...
...
@@ -82,11 +82,6 @@ static inline const char *dlerror(void) { return "No dlopen support on Windows";
#define RTLD_GLOBAL 0x100
#endif
/* So we open files in 64 bit access mode on Linux */
#ifndef O_LARGEFILE
# define O_LARGEFILE 0
#endif
/****************************************************************
* Constants
*/
...
...
server/device.c
View file @
9df97676
...
...
@@ -440,8 +440,7 @@ static struct object *device_open_file( struct object *obj, unsigned int access,
mode_t
mode
=
0666
;
access
=
file
->
obj
.
ops
->
map_access
(
&
file
->
obj
,
access
);
nt_name
.
str
=
device
->
obj
.
ops
->
get_full_name
(
&
device
->
obj
,
&
nt_name
.
len
);
file
->
fd
=
open_fd
(
NULL
,
device
->
unix_path
,
nt_name
,
O_NONBLOCK
|
O_LARGEFILE
,
&
mode
,
access
,
sharing
,
options
);
file
->
fd
=
open_fd
(
NULL
,
device
->
unix_path
,
nt_name
,
O_NONBLOCK
,
&
mode
,
access
,
sharing
,
options
);
if
(
file
->
fd
)
set_fd_user
(
file
->
fd
,
&
device_file_fd_ops
,
&
file
->
obj
);
}
else
file
->
fd
=
alloc_pseudo_fd
(
&
device_file_fd_ops
,
&
file
->
obj
,
options
);
...
...
server/file.c
View file @
9df97676
...
...
@@ -269,7 +269,7 @@ static struct object *create_file( struct fd *root, const char *nameptr, data_si
access
=
map_access
(
access
,
&
file_type
.
mapping
);
/* FIXME: should set error to STATUS_OBJECT_NAME_COLLISION if file existed before */
fd
=
open_fd
(
root
,
name
,
nt_name
,
flags
|
O_NONBLOCK
|
O_LARGEFILE
,
&
mode
,
access
,
sharing
,
options
);
fd
=
open_fd
(
root
,
name
,
nt_name
,
flags
|
O_NONBLOCK
,
&
mode
,
access
,
sharing
,
options
);
if
(
!
fd
)
goto
done
;
if
(
S_ISDIR
(
mode
))
...
...
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