Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ffe94f7 in mainline


Ignore:
Timestamp:
2009-11-17T17:12:22Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
4e739652
Parents:
9c70ed6
Message:

Fix definition of canonical paths.

File:
1 edited

Legend:

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

    r9c70ed6 rffe94f7  
    289289 * A file system path is canonical, if the following holds:
    290290 * 1) the path is absolute (i.e. a/b/c is not canonical)
    291  * 2) there is no trailing slash in the path (i.e. /a/b/c is not canonical)
     291 * 2) there is no trailing slash in the path (i.e. /a/b/c/ is not canonical)
    292292 * 3) there is no extra slash in the path (i.e. /a//b/c is not canonical)
    293293 * 4) there is no '.' component in the path (i.e. /a/./b/c is not canonical)
Note: See TracChangeset for help on using the changeset viewer.