Partially sync files.el from XEmacs 21.5 for wildcard support.
[sxemacs] / src / dumper.c
index 44b9d82..8e72ea4 100644 (file)
@@ -1380,7 +1380,6 @@ int pdump_load(const char *argv0)
                        }
                        if (remain > 0) {
                                xstrncpy(w, name, remain);
-                               w[remain]='\0';
                        }
 
                        /* Check that exe_path is executable and not a