diff options
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -817,6 +817,7 @@ int txr_main(int argc, char **argv) if (wcscmp(c_str(spec_file), L"-") != 0) { open_txr_file(spec_file, &txr_lisp_p, &spec_file_str, &parse_stream); simulate_setuid_setgid(parse_stream); + set_get_symacro(self_load_path_s, spec_file_str); } else { drop_privilege(); spec_file_str = lit("stdin"); @@ -842,6 +843,7 @@ int txr_main(int argc, char **argv) if (!equal(arg, lit("-"))) { open_txr_file(arg, &txr_lisp_p, &spec_file_str, &parse_stream); simulate_setuid_setgid(parse_stream); + set_get_symacro(self_load_path_s, spec_file_str); } else { drop_privilege(); spec_file_str = lit("stdin"); |