Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9132a78b
Commit
9132a78b
authored
Apr 18, 1999
by
Robert W Hall
Committed by
Alexandre Julliard
Apr 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make DOSFS_MatchLong match a search string ending in '*.' to a zero
extension file name, allowing Mathcad to run.
parent
85aac700
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dos_fs.c
files/dos_fs.c
+2
-1
No files found.
files/dos_fs.c
View file @
9132a78b
...
...
@@ -291,7 +291,7 @@ static int DOSFS_MatchLong( const char *mask, const char *name,
if
(
!*
mask
)
return
1
;
if
(
case_sensitive
)
while
(
*
name
&&
(
*
name
!=
*
mask
))
name
++
;
else
while
(
*
name
&&
(
toupper
(
*
name
)
!=
toupper
(
*
mask
)))
name
++
;
if
(
!*
name
)
return
0
;
if
(
!*
name
)
break
;
}
else
if
(
*
mask
!=
'?'
)
{
...
...
@@ -304,6 +304,7 @@ static int DOSFS_MatchLong( const char *mask, const char *name,
mask
++
;
name
++
;
}
if
(
*
mask
==
'.'
)
mask
++
;
/* Ignore trailing '.' in mask */
return
(
!*
name
&&
!*
mask
);
}
...
...
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