Changeset 3993 in vbox for trunk/src/VBox/HostServices/SharedFolders/testcase
- Timestamp:
- Aug 2, 2007 9:29:34 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23419
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflCase.cpp
r3972 r3993 41 41 #undef Log 42 42 #define Log(a) printf a 43 #undef Log2 44 #define Log2 Log 43 45 44 46 #define RTPathQueryInfo rtPathQueryInfo … … 192 194 int rc = VERR_FILE_NOT_FOUND; 193 195 PRTDIR hSearch; 196 char szWildCard[4]; 197 198 Log2(("vbsfCorrectCasing: %s %s\n", pszFullPath, pszStartComponent)); 194 199 195 200 cbComponent = strlen(pszStartComponent); … … 208 213 *(pszStartComponent-1) = 0; 209 214 strcpy(pDirEntry->szName, pszFullPath); 210 strcat(pDirEntry->szName, "\\*"); 215 szWildCard[0] = RTPATH_DELIMITER; 216 szWildCard[1] = '*'; 217 szWildCard[2] = 0; 218 strcat(pDirEntry->szName, szWildCard); 219 211 220 rc = RTDirOpenFiltered (&hSearch, pDirEntry->szName, RTDIRFILTER_WINNT); 212 221 *(pszStartComponent-1) = RTPATH_DELIMITER; … … 230 239 continue; 231 240 } 241 242 Log2(("vbsfCorrectCasing: found %s\n", &pDirEntry->szName[0])); 232 243 if ( pDirEntry->cbName == cbComponent 233 244 && !RTStrICmp(pszStartComponent, &pDirEntry->szName[0]))
Note:
See TracChangeset
for help on using the changeset viewer.