1--- hpscat.c.orig 2019-08-03 11:25:44 UTC 2+++ hpscat.c 3@@ -62,7 +62,7 @@ open_outfile(s) /* returns -1 if can 4 if(ofp=fopen(buf,"r")) { /* file exists */ 5 fclose(ofp); 6 fprintf(stderr,"output file %s exists...overwrite? ", buf); 7- gets(ans); 8+ fgets(buf,256,ans); 9 if(ans[0]=='y') 10 unlink(buf); 11 else 12 13