VirtualBox

Changeset 15902 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jan 12, 2009 5:37:02 PM (16 years ago)
Author:
vboxsync
Message:

Linux additions: fixed append on shared folders

File:
1 edited

Legend:

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

    r13837 r15902  
    123123        struct sf_glob_info *sf_g = GET_GLOB_INFO (inode->i_sb);
    124124        struct sf_reg_info *sf_r = file->private_data;
    125         loff_t pos = *off;
     125        loff_t pos = (file->f_flags & O_APPEND)
     126                       ? inode->i_size
     127                       : *off;
    126128
    127129        TRACE ();
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