ruby-changes:4996
From: ko1@a...
Date: Tue, 20 May 2008 13:16:44 +0900 (JST)
Subject: [ruby-changes:4996] knu - Ruby:r16489 (ruby_1_8): * file.c (lchmod_internal): Remove a compiler warning.
knu 2008-05-20 13:16:28 +0900 (Tue, 20 May 2008) New Revision: 16489 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/file.c branches/ruby_1_8/version.h Log: * file.c (lchmod_internal): Remove a compiler warning. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16489&r2=16488&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/file.c?r1=16489&r2=16488&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=16489&r2=16488&diff_format=u Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 16488) +++ ruby_1_8/ChangeLog (revision 16489) @@ -1,3 +1,7 @@ +Tue May 20 13:15:46 2008 Akinori MUSHA <knu@i...> + + * file.c (lchmod_internal): Remove a compiler warning. + Mon May 19 18:22:35 2008 Akinori MUSHA <knu@i...> * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type Index: ruby_1_8/version.h =================================================================== --- ruby_1_8/version.h (revision 16488) +++ ruby_1_8/version.h (revision 16489) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.7" -#define RUBY_RELEASE_DATE "2008-05-19" +#define RUBY_RELEASE_DATE "2008-05-20" #define RUBY_VERSION_CODE 187 -#define RUBY_RELEASE_CODE 20080519 +#define RUBY_RELEASE_CODE 20080520 #define RUBY_PATCHLEVEL 5000 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 7 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 19 +#define RUBY_RELEASE_DAY 20 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_8/file.c =================================================================== --- ruby_1_8/file.c (revision 16488) +++ ruby_1_8/file.c (revision 16489) @@ -1785,7 +1785,7 @@ const char *path; void *mode; { - if (lchmod(path, (int)mode) < 0) + if (lchmod(path, (int)(VALUE)mode) < 0) rb_sys_fail(path); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/