Ignore:
Timestamp:
2009-11-17T17:12:22Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.