Add support for chdir and getcwd
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 28 Jan 2014 04:54:14 +0000 (20:54 -0800)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 31 Jan 2014 04:06:57 +0000 (20:06 -0800)
Add chdir and getcwd and store cwd in the nfs_context.
Add functions to process the paths specified and normalize them
by performing the transforms :
    // -> /
    /./ -> /
    ^/../ -> error
    ^[^/] -> error
    /string/../ -> /
    /$ -> \0
    /.$ -> \0
    ^/..$ -> error
    /string/..$ -> /

Update the path lookup function to allow specifying relative paths based on
cwd for all functions.


No differences found