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
cce5aea0
Commit
cce5aea0
authored
Jun 09, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-push
parents
5c9dee55
90ddbe87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysys/my_fopen.c
mysys/my_fopen.c
+2
-2
No files found.
mysys/my_fopen.c
View file @
cce5aea0
...
...
@@ -185,11 +185,11 @@ static void make_ftype(register my_string to, register int flag)
DBUG_ASSERT
(
flag
&
(
O_TRUNC
|
O_APPEND
)
!=
O_TRUNC
|
O_APPEND
);
if
(
flag
&
(
O_RDONLY
|
O_WRONLY
)
==
O_WRONLY
)
*
to
++=
(
flag
&
O_
TRUNC
)
?
'w'
:
'a
'
;
*
to
++=
(
flag
&
O_
APPEND
)
?
'a'
:
'w
'
;
else
if
(
flag
&
O_RDWR
)
{
/* Add '+' after theese */
if
(
flag
&
O_TRUNC
)
if
(
flag
&
(
O_TRUNC
|
O_CREAT
)
)
*
to
++=
'w'
;
else
if
(
flag
&
O_APPEND
)
*
to
++=
'a'
;
...
...
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