Changeset 622cdbe in mainline for uspace/lib/libc/generic/task.c


Ignore:
Timestamp:
2009-10-15T17:45:16Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8ef374
Parents:
81342f7
Message:

Inherit the current working directory from the spawner to the spawnee task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/task.c

    r81342f7 r622cdbe  
    8989                goto error;
    9090       
     91        /* Send spawner's current working directory. */
     92        rc = loader_set_cwd(ldr);
     93        if (rc != EOK)
     94                goto error;
     95       
    9196        /* Send program pathname. */
    9297        rc = loader_set_pathname(ldr, path);
     
    98103        if (rc != EOK)
    99104                goto error;
    100        
    101105       
    102106        /* Send default files */
Note: See TracChangeset for help on using the changeset viewer.