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
2aa0d085
Commit
2aa0d085
authored
Nov 23, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fixes for NetWare
parent
8e6cf24d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
client/mysql_upgrade.c
client/mysql_upgrade.c
+8
-6
No files found.
client/mysql_upgrade.c
View file @
2aa0d085
...
...
@@ -373,22 +373,24 @@ static int comp_names(struct fileinfo *a, struct fileinfo *b)
}
static
int
find_file
(
const
char
*
name
,
const
char
*
root
,
uint
flags
,
char
*
result
,
size_t
len
,
...)
static
int
find_file
(
const
char
*
name
,
const
char
*
root
,
uint
flags
,
char
*
result
,
size_t
len
,
...)
{
int
ret
;
int
ret
=
1
;
va_list
va
;
FILEINFO
key
=
{
(
char
*
)
name
,
NULL
};
const
char
*
subdir
;
char
*
cp
;
FILEINFO
key
;
/* Init key with name of the file to look for */
key
.
name
=
(
char
*
)
name
;
DBUG_ASSERT
(
root
!=
NULL
);
cp
=
strmake
(
result
,
root
,
len
);
if
(
cp
[
-
1
]
!=
FN_LIBCHAR
)
*
cp
++=
FN_LIBCHAR
;
ret
=
1
;
va_start
(
va
,
len
);
subdir
=
(
!
(
flags
&
MY_SEARCH_SELF
))
?
va_arg
(
va
,
char
*
)
:
""
;
while
(
subdir
)
...
...
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