live-bootstrap/sysa/tcc-0.9.26/simple-patches/addback-fileopen.after
2023-03-31 18:08:50 +00:00

7 lines
176 B
Text

if ((fh = fopen(argv[i_lib], "wb")) == NULL)
{
fprintf(stderr, "tcc: ar: can't open file %s \n", argv[i_lib]);
goto the_end;
}
// write header