Ignore:
Timestamp:
2017-04-02T11:24:06Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
151f1cc
Parents:
b19e892
Message:

Rename close() to vfs_put()

This is motivated mainly by the fact that a file handle does not
necessarily correspond to an open file and close() was no longer the
the opposite operation to open().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cmp/cmp.c

    rb19e892 r9c4cf0d  
    116116end:
    117117        if (fd[0] >= 0)
    118                 close(fd[0]);
     118                vfs_put(fd[0]);
    119119        if (fd[1] >= 0)
    120                 close(fd[1]);
     120                vfs_put(fd[1]);
    121121        return rc;
    122122}
Note: See TracChangeset for help on using the changeset viewer.