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
24df62e3
Commit
24df62e3
authored
Mar 16, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
O_DIRECTORY is not really needed.
parent
14ec5260
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
directory.c
dlls/ntdll/directory.c
+1
-6
No files found.
dlls/ntdll/directory.c
View file @
24df62e3
...
@@ -71,11 +71,6 @@ typedef struct
...
@@ -71,11 +71,6 @@ typedef struct
#define VFAT_IOCTL_READDIR_BOTH _IOR('r', 1, KERNEL_DIRENT [2] )
#define VFAT_IOCTL_READDIR_BOTH _IOR('r', 1, KERNEL_DIRENT [2] )
/* To avoid blocking on non-directories in DOSFS_OpenDir_VFAT*/
#ifndef O_DIRECTORY
# define O_DIRECTORY 0200000
/* must be directory */
#endif
#else
/* linux */
#else
/* linux */
#undef VFAT_IOCTL_READDIR_BOTH
/* just in case... */
#undef VFAT_IOCTL_READDIR_BOTH
/* just in case... */
#endif
/* linux */
#endif
/* linux */
...
@@ -443,7 +438,7 @@ NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
...
@@ -443,7 +438,7 @@ NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
if
(
show_dir_symlinks
==
-
1
)
init_options
();
if
(
show_dir_symlinks
==
-
1
)
init_options
();
if
((
cwd
=
open
(
"."
,
O_RDONLY
|
O_DIRECTORY
))
!=
-
1
&&
fchdir
(
fd
)
!=
-
1
)
if
((
cwd
=
open
(
"."
,
O_RDONLY
))
!=
-
1
&&
fchdir
(
fd
)
!=
-
1
)
{
{
off_t
old_pos
=
0
;
off_t
old_pos
=
0
;
...
...
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