mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
r7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
ie. files containing : and \ can be accessed from Linux. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e04fd56e00
commit
e9b8d23d61
@@ -2451,6 +2451,12 @@ char *parent_dirname(const char *path)
|
||||
BOOL ms_has_wild(const char *s)
|
||||
{
|
||||
char c;
|
||||
|
||||
if (lp_posix_pathnames()) {
|
||||
/* With posix pathnames no characters are wild. */
|
||||
return False;
|
||||
}
|
||||
|
||||
while ((c = *s++)) {
|
||||
switch (c) {
|
||||
case '*':
|
||||
|
||||
Reference in New Issue
Block a user