Changeset 81342f7 in mainline


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

getcwd() should return NULL if the current working directory is not set.

File:
1 edited

Legend:

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

    re035612 r81342f7  
    664664char *getcwd(char *buf, size_t size)
    665665{
     666        if (!cwd_size)
     667                return NULL;
    666668        if (!size)
    667669                return NULL;
Note: See TracChangeset for help on using the changeset viewer.