1
0
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:
Jeremy Allison
2005-06-22 21:20:41 +00:00
committed by Gerald (Jerry) Carter
parent e04fd56e00
commit e9b8d23d61
8 changed files with 101 additions and 5 deletions

View File

@@ -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 '*':