Changeset 1393bbb in mainline


Ignore:
Timestamp:
2013-07-24T22:17:13Z (11 years ago)
Author:
Ji?? Z?rev?cky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ef62df
Parents:
9a8c188
Message:

Fix a bug in passing files through IPC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_file.c

    r9a8c188 r1393bbb  
    395395         */
    396396        acceptor_file->node = donor_file->node;
     397        acceptor_file->permissions = donor_file->permissions;
     398       
     399        // TODO: The file should not inherit its open status, but clients depend on this.
     400        acceptor_file->pos = donor_file->pos;
    397401        acceptor_file->append = donor_file->append;
    398         acceptor_file->pos = donor_file->pos;
     402        acceptor_file->open_read = donor_file->open_read;
     403        acceptor_file->open_write = donor_file->open_write;
    399404
    400405out:
Note: See TracChangeset for help on using the changeset viewer.