Loading src/filelist.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -180,6 +180,7 @@ static void add_stdin_to_filelist(void) while ((readsize = fread(buf, sizeof(char), sizeof(buf), stdin)) > 0) { while ((readsize = fread(buf, sizeof(char), sizeof(buf), stdin)) > 0) { if (fwrite(buf, sizeof(char), readsize, outfile) < readsize) { if (fwrite(buf, sizeof(char), readsize, outfile) < readsize) { free(sfn); free(sfn); fclose(outfile); return; return; } } } } Loading Loading
src/filelist.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -180,6 +180,7 @@ static void add_stdin_to_filelist(void) while ((readsize = fread(buf, sizeof(char), sizeof(buf), stdin)) > 0) { while ((readsize = fread(buf, sizeof(char), sizeof(buf), stdin)) > 0) { if (fwrite(buf, sizeof(char), readsize, outfile) < readsize) { if (fwrite(buf, sizeof(char), readsize, outfile) < readsize) { free(sfn); free(sfn); fclose(outfile); return; return; } } } } Loading