]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-longfilename-matching-20050203
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 Feb 2005 04:55:51 +0000 (04:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 Feb 2005 04:55:51 +0000 (04:55 +0000)
retry pattern matching when ambiguous matches are found for long file
names

src/WINNT/afsd/smb3.c

index 520dddb38f0984058e5d286e15c3261316f67182..cd0c04cda605df5128f8e905ad64f1b7d4fc133f 100644 (file)
@@ -4131,8 +4131,7 @@ long smb_ReceiveTran2SearchDir(smb_vc_t *vcp, smb_tran2Packet_t *p, smb_packet_t
                 bytesInBuffer++;
             }
         }      /* if we're including this name */
-        else if (!NeedShortName &&
-                 !starPattern &&
+        else if (!starPattern &&
                  !foundInexact &&
                  dep->fid.vnode != 0 &&
                  smb_V3MatchMask(dep->name, maskp, CM_FLAG_CASEFOLD)) {