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
89edbeae
Commit
89edbeae
authored
Oct 19, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/alexi/mysql-4.1
into mysql.com:/home/alexi/dev/mysql-4.1-4375
parents
eef9b840
18cfe4ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
mysys/my_lib.c
mysys/my_lib.c
+13
-2
No files found.
mysys/my_lib.c
View file @
89edbeae
...
...
@@ -426,6 +426,18 @@ MY_DIR *my_dir(const char *path, myf MyFlags)
do
{
#ifdef __BORLANDC__
attrib
=
find
.
ff_attrib
;
#else
attrib
=
find
.
attrib
;
/*
Do not show hidden and system files which Windows sometimes create.
Note. Because Borland's findfirst() is called with the third
argument = 0 hidden/system files are excluded from the search.
*/
if
(
attrib
&
(
_A_HIDDEN
|
_A_SYSTEM
))
continue
;
#endif
#ifdef __BORLANDC__
if
(
!
(
finfo
.
name
=
strdup_root
(
names_storage
,
find
.
ff_name
)))
goto
error
;
...
...
@@ -442,11 +454,10 @@ MY_DIR *my_dir(const char *path, myf MyFlags)
bzero
(
finfo
.
mystat
,
sizeof
(
MY_STAT
));
#ifdef __BORLANDC__
finfo
.
mystat
->
st_size
=
find
.
ff_fsize
;
mode
=
MY_S_IREAD
;
attrib
=
find
.
ff_attrib
;
#else
finfo
.
mystat
->
st_size
=
find
.
size
;
mode
=
MY_S_IREAD
;
attrib
=
find
.
attrib
;
#endif
mode
=
MY_S_IREAD
;
if
(
!
(
attrib
&
_A_RDONLY
))
mode
|=
MY_S_IWRITE
;
if
(
attrib
&
_A_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