Changeset fcab7ef in mainline for uspace/lib/bithenge/src/failure.c


Ignore:
Timestamp:
2017-03-26T20:46:56Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
fe91f66
Parents:
f644472
Message:

Merge dup2() into vfs_clone()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/failure.c

    rf644472 rfcab7ef  
    152152                if (null == -1)
    153153                        exit(127);
    154                 dup2(null, STDOUT_FILENO);
    155                 dup2(null, STDERR_FILENO);
     154                vfs_clone(null, STDOUT_FILENO, false);
     155                vfs_clone(null, STDERR_FILENO, false);
    156156                close(null);
    157157                return 1;
Note: See TracChangeset for help on using the changeset viewer.