summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-11-22 01:22:30 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit4dfd93c72a9a221c5575c5888483f2fb55c82117 (patch)
treed31f646aef5fdfda2869a40f7758a12158976602 /error.c
parentc31025779da3020b9d1e9ad4c920e76b6b97d5fd (diff)
version 0.56v0_56
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.55-0.56.diff.gz
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/error.c b/error.c
index 747fa68623..05463504f8 100644
--- a/error.c
+++ b/error.c
@@ -3,7 +3,7 @@
error.c -
$Author: matz $
- $Date: 1994/11/01 08:27:52 $
+ $Date: 1994/11/22 01:22:31 $
created at: Mon Aug 9 16:11:34 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
@@ -140,9 +140,9 @@ rb_sys_fail(mesg)
extern int errno;
if (mesg == Qnil)
- sprintf(buf, "%s.\n", strerror(errno));
+ sprintf(buf, "%s\n", strerror(errno));
else
- sprintf(buf, "%s - %s.\n", strerror(errno), mesg);
+ sprintf(buf, "%s - %s\n", strerror(errno), mesg);
errno = 0;
rb_fail(str_new2(buf));