Commit b821a70c authored by Eli Zaretskii's avatar Eli Zaretskii

; Fix a recent change in pdumper.c

* src/pdumper.c (Fpdumper_stats): Don't expand dump filename, as we don't
record the directory relative to which it was specified.
parent 8e2b2a2b
Pipeline #575 passed with stage
in 53 minutes and 20 seconds
......@@ -5581,18 +5581,21 @@ Value is nil if this session was not started using a portable dump file.*/)
char dump_fn_utf8[MAX_UTF8_PATH];
if (filename_from_ansi (dump_private.dump_filename, dump_fn_utf8) == 0)
dump_fn = DECODE_FILE (build_unibyte_string (dump_fn_utf8));
dostounix_filename (dump_fn_utf8);
dump_fn = DECODE_FILE (build_unibyte_string (dump_fn_utf8));
dump_fn = build_unibyte_string (dump_private.dump_filename);
dump_fn = DECODE_FILE (build_unibyte_string (dump_private.dump_filename));
dump_fn = Fexpand_file_name (dump_fn, Qnil);
return CALLN (Flist,
Fcons (Qdumped_with_pdumper, Qt),
Fcons (Qload_time, make_float (dump_private.load_time)),
/* FIXME: dump_fn should be expanded relative to the
original pwd where Emacs started. */
Fcons (Qdump_file_name, dump_fn));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment