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
3a2a5e5e
Commit
3a2a5e5e
authored
Jun 30, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: os_file_close_no_error_handling(): Unused, remove.
parent
9165e0b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
+0
-43
include/os0file.h
include/os0file.h
+0
-8
os/os0file.c
os/os0file.c
+0
-35
No files found.
include/os0file.h
View file @
3a2a5e5e
...
...
@@ -425,14 +425,6 @@ os_file_close(
/*==========*/
os_file_t
file
);
/*!< in, own: handle to a file */
/***********************************************************************//**
Closes a file handle.
@return TRUE if success */
UNIV_INTERN
ibool
os_file_close_no_error_handling
(
/*============================*/
os_file_t
file
);
/*!< in, own: handle to a file */
/***********************************************************************//**
Gets a file size.
@return TRUE if success */
UNIV_INTERN
...
...
os/os0file.c
View file @
3a2a5e5e
...
...
@@ -1644,41 +1644,6 @@ os_file_close(
#endif
}
/***********************************************************************//**
Closes a file handle.
@return TRUE if success */
UNIV_INTERN
ibool
os_file_close_no_error_handling
(
/*============================*/
os_file_t
file
)
/*!< in, own: handle to a file */
{
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
ret
=
CloseHandle
(
file
);
if
(
ret
)
{
return
(
TRUE
);
}
return
(
FALSE
);
#else
int
ret
;
ret
=
close
(
file
);
if
(
ret
==
-
1
)
{
return
(
FALSE
);
}
return
(
TRUE
);
#endif
}
/***********************************************************************//**
Gets a file size.
@return TRUE if success */
...
...
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