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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
aeddb423
Commit
aeddb423
authored
Jul 18, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge magare.gmz:/home/kgeorge/mysql/work/B29325-my_errno-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/merge-5.0-5.1-opt
parents
f6225e20
94535ca8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mysys/my_symlink2.c
mysys/my_symlink2.c
+2
-0
No files found.
mysys/my_symlink2.c
View file @
aeddb423
...
...
@@ -56,11 +56,13 @@ File my_create_with_symlink(const char *linkname, const char *filename,
{
if
(
!
access
(
filename
,
F_OK
))
{
my_errno
=
errno
=
EEXIST
;
my_error
(
EE_CANTCREATEFILE
,
MYF
(
0
),
filename
,
EEXIST
);
DBUG_RETURN
(
-
1
);
}
if
(
create_link
&&
!
access
(
linkname
,
F_OK
))
{
my_errno
=
errno
=
EEXIST
;
my_error
(
EE_CANTCREATEFILE
,
MYF
(
0
),
linkname
,
EEXIST
);
DBUG_RETURN
(
-
1
);
}
...
...
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