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
63512802
Commit
63512802
authored
Nov 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fixes for NetWare
parent
c9cc82f2
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 @
63512802
...
...
@@ -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