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
3b7a807e
Commit
3b7a807e
authored
May 08, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to compile with icc
parent
402c08f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ndb/src/cw/cpcd/Process.cpp
ndb/src/cw/cpcd/Process.cpp
+4
-1
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+4
-0
No files found.
ndb/src/cw/cpcd/Process.cpp
View file @
3b7a807e
...
...
@@ -220,8 +220,11 @@ set_ulimit(const BaseString & pair){
if
(
!
(
list
[
1
].
trim
()
==
"unlimited"
)){
value
=
atoi
(
list
[
1
].
c_str
());
}
#if defined(__INTEL_COMPILER)
struct
rlimit64
rlp
;
#else
struct
rlimit
rlp
;
#endif
#define _RLIMIT_FIX(x) { res = getrlimit(x,&rlp); if(!res){ rlp.rlim_cur = value; res = setrlimit(x, &rlp); }}
if
(
list
[
0
].
trim
()
==
"c"
){
...
...
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
View file @
3b7a807e
...
...
@@ -799,7 +799,11 @@ AsyncFile::rmrfReq(Request * request, char * path, bool removePath){
request
->
error
=
errno
;
return
;
}
#if defined(__INTEL_COMPILER)
struct
dirent64
*
dp
;
#else
struct
dirent
*
dp
;
#endif
while
((
dp
=
readdir
(
dirp
))
!=
NULL
){
if
((
strcmp
(
"."
,
dp
->
d_name
)
!=
0
)
&&
(
strcmp
(
".."
,
dp
->
d_name
)
!=
0
))
{
BaseString
::
snprintf
(
path_add
,
(
size_t
)
path_max_copy
,
"%s%s"
,
...
...
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