ruby-changes:4622
From: ko1@a...
Date: Mon, 21 Apr 2008 10:07:15 +0900 (JST)
Subject: [ruby-changes:4622] matz - Ruby:r16116 (trunk): * time.c: should include <errno.h> to refer errno.
matz 2008-04-21 10:07:00 +0900 (Mon, 21 Apr 2008)
New Revision: 16116
Modified files:
trunk/ChangeLog
trunk/time.c
Log:
* time.c: should include <errno.h> to refer errno.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/time.c?r1=16116&r2=16115&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16116&r2=16115&diff_format=u
Index: time.c
===================================================================
--- time.c (revision 16115)
+++ time.c (revision 16116)
@@ -12,6 +12,7 @@
#include "ruby/ruby.h"
#include <sys/types.h>
#include <time.h>
+#include <errno.h>
#include "ruby/encoding.h"
#ifdef HAVE_UNISTD_H
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16115)
+++ ChangeLog (revision 16116)
@@ -1,3 +1,7 @@
+Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto <matz@r...>
+
+ * time.c: should include <errno.h> to refer errno.
+
Mon Apr 21 09:58:04 2008 NAKAMURA Usaku <usa@r...>
* time.c (rb_strftime): check errno to detect strftime(3)'s error.
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/