From 2044d8f8534416782a1bdbb04a6f8aa29014f51f Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Thu, 30 Jun 2011 13:26:03 +0300 Subject: [PATCH] custom_canonicalize_pathname(): Removed old-style path handling. Signed-off-by: Slava Zanko --- lib/utilunix.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/lib/utilunix.c b/lib/utilunix.c index 26f3977f6..213adf3e3 100644 --- a/lib/utilunix.c +++ b/lib/utilunix.c @@ -695,26 +695,8 @@ custom_canonicalize_pathname (char *path, CANON_PATH_FLAGS flags) } if (*s == PATH_SEP) - { - /* skip VFS prefix */ - char *path_sep; - struct vfs_class *vclass; + break; - /* old parser mode */ - if (*(s + 1) != '#') - break; - - path_sep = strchr (s + 1, PATH_SEP); - if (path_sep != NULL) - *path_sep = '\0'; - - vclass = vfs_prefix_to_class (s + 2); - if (path_sep != NULL) - *path_sep = PATH_SEP; - - if (vclass == NULL) - break; - } s--; }