aboutsummaryrefslogtreecommitdiff
path: root/korean/hpscat/files/patch-hpscat.c
diff options
context:
space:
mode:
Diffstat (limited to 'korean/hpscat/files/patch-hpscat.c')
-rw-r--r--korean/hpscat/files/patch-hpscat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/korean/hpscat/files/patch-hpscat.c b/korean/hpscat/files/patch-hpscat.c
new file mode 100644
index 000000000000..74ff08df97e4
--- /dev/null
+++ b/korean/hpscat/files/patch-hpscat.c
@@ -0,0 +1,11 @@
+--- hpscat.c.orig 2019-08-03 11:25:44 UTC
++++ hpscat.c
+@@ -62,7 +62,7 @@ open_outfile(s) /* returns -1 if can
+ if(ofp=fopen(buf,"r")) { /* file exists */
+ fclose(ofp);
+ fprintf(stderr,"output file %s exists...overwrite? ", buf);
+- gets(ans);
++ fgets(buf,256,ans);
+ if(ans[0]=='y')
+ unlink(buf);
+ else