Skip to content

Commit

Permalink
(u)ptex-{euc,sjis}: remove debug codes (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Dec 16, 2022
1 parent dac2165 commit af0f549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
5 changes: 0 additions & 5 deletions source/texk/web2c/lib/texmfmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,11 +850,6 @@ maininit (int ac, string *av)
get_command_line_args_utf8(enc, &argc, &argv);
#endif

#if IS_pTeX && !IS_upTeX && !defined(WIN32)
fprintf(stderr, "maininit: %d\n", get_internal_enc());
// ptenc_get_command_line_args(&argc, &argv);
#endif

/* If the user says --help or --version, we need to notice early. And
since we want the --ini option, have to do it before getting into
the web (which would read the base file, etc.). */
Expand Down
10 changes: 1 addition & 9 deletions source/texk/web2c/ptexdir/ptex-base.ch
Original file line number Diff line number Diff line change
Expand Up @@ -6861,18 +6861,10 @@ undump_things(char_base[null_font], font_ptr+1-null_font);
font_info:=xmalloc_array (memory_word, font_mem_size);
@z
@x -- DEBUG!
@x
fix_date_and_time;@/
@y
last:=ptenc_conv_first_line(loc, last, buffer, buf_size);
{ print_nl("debug 1st line "); print_int(loc); print(" ");
for k:=0 to last do begin
if k=loc then print(">");
if (buffer[k]<@"20)or(buffer[k]>@"7e) then
begin print("["); print_hex(buffer[k]); print("]"); end
else print(buffer[k]);
end;
print_nl(""); }
fix_date_and_time;@/
@z
Expand Down

0 comments on commit af0f549

Please sign in to comment.