VirtualBox

Changeset 24350 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 4, 2009 6:32:09 PM (15 years ago)
Author:
vboxsync
Message:

APPEND mode for shared folders (SHFL_CF_ACCESS_APPEND).

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r24320 r24350  
    320320                        BUG ();
    321321                }
     322        }
     323
     324        if (file->f_flags & O_APPEND) {
     325                LogFunc(("O_APPEND set\n"));
     326                params.CreateFlags |= SHFL_CF_ACCESS_APPEND;
    322327        }
    323328
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r23973 r24350  
    683683            break;
    684684        }
     685    }
     686
     687    if (fShflFlags & SHFL_CF_ACCESS_APPEND)
     688    {
     689        fOpen |= RTFILE_O_APPEND;
    685690    }
    686691
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette