projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add cifs-utils, replacing the old cifsmount package
[packages.git]
/
net
/
samba3
/
patches
/
150-fix_ls.patch
1
--- a/source/lib/ms_fnmatch.c
2
+++ b/source/lib/ms_fnmatch.c
3
@@ -153,6 +153,10 @@ int ms_fnmatch(const char *pattern, cons
4
int ret, count, i;
5
struct max_n *max_n = NULL;
6
7
+ if (strcmp(pattern, "*") == 0) {
8
+ return 0;
9
+ }
10
+
11
if (strcmp(string, "..") == 0) {
12
string = ".";
13
}