Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
14504b12
Commit
14504b12
authored
Mar 07, 2007
by
iggy@recycle.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge recycle.(none):/src/bug25222/my50-bug25222
into recycle.(none):/src/bug25222/my51-bug25222
parents
c92e7b13
d3bdfa2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mysys/my_open.c
mysys/my_open.c
+6
-1
No files found.
mysys/my_open.c
View file @
14504b12
...
...
@@ -352,7 +352,12 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
return
-
1
;
/* return error to caller */
}
fh
=
_open_osfhandle
((
intptr_t
)
osfh
,
oflag
&
(
_O_APPEND
|
_O_RDONLY
|
_O_TEXT
));
if
((
fh
=
_open_osfhandle
((
intptr_t
)
osfh
,
oflag
&
(
_O_APPEND
|
_O_RDONLY
|
_O_TEXT
)))
==
-
1
)
{
_dosmaperr
(
GetLastError
());
/* map error */
CloseHandle
(
osfh
);
}
return
fh
;
/* return handle */
}
...
...
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