Partially sync files.el from XEmacs 21.5 for wildcard support.
[sxemacs] / src / realpath.c
index 6fc583d..1ccfd70 100644 (file)
@@ -74,7 +74,7 @@ char *xrealpath(const char *path, char *restrict resolved_path)
 
        /* Make a copy of the source path since we may need to modify it. */
        strncpy(copy_path, path, sizeof(copy_path)-1);
-        copy_path[sizeof(copy_path)-1]='\0';
+       copy_path[sizeof(copy_path)-1]='\0';
        path = copy_path;
        max_path = copy_path + PATH_MAX - 2;