windows-windows-pipes-20080210

LICENSE MIT

do not search for cellnames that match srvsvc or wkssvc pipes
This commit is contained in:
Jeffrey Altman 2008-02-11 00:13:50 +00:00
parent cd82af9d4e
commit d7235b1493

View File

@ -1282,7 +1282,8 @@ long cm_LookupInternal(cm_scache_t *dscp, char *namep, long flags, cm_user_t *us
else else
return CM_ERROR_NOSUCHFILE; return CM_ERROR_NOSUCHFILE;
} }
else if (!strchr(namep, '#') && !strchr(namep, '%')) { else if (!strchr(namep, '#') && !strchr(namep, '%') &&
strcmp(namep, "srvsvc") && strcmp(namep, "wkssvc")) {
/* nonexistent dir on freelance root, so add it */ /* nonexistent dir on freelance root, so add it */
char fullname[200] = "."; char fullname[200] = ".";
int found = 0; int found = 0;