Changeset 24320 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Nov 4, 2009 11:38:15 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r20342 r24320 43 43 } 44 44 45 memset(¶ms, 0, sizeof(params));45 RT_ZERO(params); 46 46 47 47 sf_d = sf_dir_info_alloc (); … … 409 409 #endif 410 410 411 memset(¶ms, 0, sizeof(params));411 RT_ZERO(params); 412 412 /* Ensure that the shared folders host service is using our fMode 413 413 * paramter */ -
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r24293 r24320 271 271 } 272 272 273 memset(¶ms, 0, sizeof(params));273 RT_ZERO(params); 274 274 params.Handle = SHFL_HANDLE_NIL; 275 275 /* We check the value of params.Handle afterwards to find out if -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r23621 r24320 169 169 TRACE (); 170 170 171 memset(¶ms, 0, sizeof(params));171 RT_ZERO(params); 172 172 params.CreateFlags = SHFL_CF_LOOKUP | SHFL_CF_ACT_FAIL_IF_NEW; 173 173 LogFunc(("calling vboxCallCreate, file %s, flags %#x\n", … … 294 294 err = 0; 295 295 296 memset(¶ms, 0, sizeof(params));296 RT_ZERO(params); 297 297 298 298 params.CreateFlags = SHFL_CF_ACT_OPEN_IF_EXISTS … … 324 324 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? RTFS_UNIX_##r : 0) 325 325 326 memset(&info, 0, sizeof(info));326 RT_ZERO(info); 327 327 if (iattr->ia_valid & ATTR_MODE) 328 328 { … … 365 365 if (iattr->ia_valid & ATTR_SIZE) 366 366 { 367 memset(&info, 0, sizeof(info));367 RT_ZERO(info); 368 368 info.cbObject = iattr->ia_size; 369 369 cbBuffer = sizeof(info); -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r23551 r24320 81 81 } 82 82 83 memset(sf_g, 0, sizeof(*sf_g));83 RT_ZERO(*sf_g); 84 84 85 85 if ( info->nullchar != '\0'
Note:
See TracChangeset
for help on using the changeset viewer.