live-bootstrap/sysa/tcc-0.9.27/simple-patches/addback-fileopen.after

8 lines
176 B
Plaintext

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