summaryrefslogtreecommitdiff
path: root/japanese/kon2-16dot/files/patch-src_errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/kon2-16dot/files/patch-src_errors.c')
-rw-r--r--japanese/kon2-16dot/files/patch-src_errors.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/japanese/kon2-16dot/files/patch-src_errors.c b/japanese/kon2-16dot/files/patch-src_errors.c
index 5c402634e313..39cb858592e2 100644
--- a/japanese/kon2-16dot/files/patch-src_errors.c
+++ b/japanese/kon2-16dot/files/patch-src_errors.c
@@ -1,11 +1,11 @@
- --- src/errors.c 30 Sep 2008 08:02:59 -0000 1.1.1.1
- +++ src/errors.c 23 Oct 2008 09:24:33 -0000
- @@ -48,7 +48,7 @@
- vfprintf(stderr, format, args);
- } else {
- VtEmu(head, strlen(head));
- - vsprintf(buf, format, args);
- + vsnprintf(buf, sizeof(buf), format, args);
- VtEmu(buf, strlen(buf));
- }
- }
+--- src/errors.c.orig 1997-01-24 09:36:22.000000000 +0900
++++ src/errors.c 2012-05-10 00:14:28.922550440 +0900
+@@ -48,7 +48,7 @@
+ vfprintf(stderr, format, args);
+ } else {
+ VtEmu(head, strlen(head));
+- vsprintf(buf, format, args);
++ vsnprintf(buf, sizeof(buf), format, args);
+ VtEmu(buf, strlen(buf));
+ }
+ }