Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / lib / sh / makepath.c
index 13aad3f..c496154 100644 (file)
@@ -91,7 +91,7 @@ sh_makepath (path, dir, flags)
     }
   else
     {
-      xpath = ((flags & MP_DOTILDE) && *path == '~') ? bash_tilde_expand (path) : (char *)path;
+      xpath = ((flags & MP_DOTILDE) && *path == '~') ? bash_tilde_expand (path, 0) : (char *)path;
       pathlen = strlen (xpath);
     }