Changeset 4743 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Sep 12, 2007 6:25:23 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r4729 r4743 409 409 } 410 410 411 LogFunc((" sf_create_aux:calling vboxCallCreate, folder %s, flags %#x\n",411 LogFunc(("calling vboxCallCreate, folder %s, flags %#x\n", 412 412 path->String.utf8, params.CreateFlags)); 413 413 rc = vboxCallCreate (&client_handle, &sf_g->map, path, ¶ms); -
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r4729 r4743 221 221 LogFunc(("O_CREAT set\n")); 222 222 params.CreateFlags |= SHFL_CF_ACT_CREATE_IF_NEW; 223 if (file->f_flags & O_EXCL) { 224 LogFunc(("O_EXCL set\n")); 225 params.CreateFlags |= SHFL_CF_ACT_FAIL_IF_EXISTS; 226 } 227 else { 223 /* We ignore O_EXCL, as the Linux kernel seems to call create 224 beforehand itself, so O_EXCL should always fail. */ 225 // if (file->f_flags & O_EXCL) { 226 // LogFunc(("O_EXCL set\n")); 227 // params.CreateFlags |= SHFL_CF_ACT_FAIL_IF_EXISTS; 228 // } 229 // else { 228 230 /* O_TRUNC combined with O_EXCL is undefined. */ 229 231 if (file->f_flags & O_TRUNC) { … … 234 236 params.CreateFlags |= SHFL_CF_ACT_OPEN_IF_EXISTS; 235 237 } 236 }238 // } 237 239 } 238 240 else { -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r4729 r4743 22 22 */ 23 23 24 /** 25 * @note Anyone wishing to make changes here might wish to take a look at 26 * http://www.atnf.csiro.au/people/rgooch/linux/vfs.txt 27 * which seems to be the closest there is to official documentation on 28 * writing filesystem drivers for Linux. 29 */ 30 24 31 /* 25 32 * Suppress the definition of wchar_t from stddef.h that occurs below.
Note:
See TracChangeset
for help on using the changeset viewer.