ruby-changes:21675
From: nobu <ko1@a...>
Date: Sat, 12 Nov 2011 16:50:00 +0900 (JST)
Subject: [ruby-changes:21675] nobu:r33724 (trunk): * ChangeLog, io.c: whitespace-cleanup.
nobu 2011-11-12 16:49:48 +0900 (Sat, 12 Nov 2011) New Revision: 33724 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33724 Log: * ChangeLog, io.c: whitespace-cleanup. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 33723) +++ ChangeLog (revision 33724) @@ -16,7 +16,7 @@ * io.c (fcntl_narg_len): introduce narg calculation for fcntl instead of hard coded 256. - * io.c (setup_narg): ditto. + * io.c (setup_narg): ditto. Sat Nov 12 11:19:35 2011 KOSAKI Motohiro <kosaki.motohiro@g...> @@ -44,7 +44,7 @@ * io.c (ioctl_req_t): Type of req argument of ioctl() depend on platform. Moreover almost all linux ioctl can't be represented by 32bit integer (i.e. MSB is 1). We need wrap ioctl argument type. - [Bug #5429] [ruby-dev:44589] + [Bug #5429] [ruby-dev:44589] * io.c (struct ioctl_arg): ditto. * io.c (rb_ioctl): ditto. * test/ruby/test_io.rb (test_ioctl_linux): add a testcase for ioctl @@ -86,7 +86,7 @@ * ext/dbm/extconf.rb: fix dbm_pagfno and dbm_dirfno detection with Berkeley DB. Macro definitions needs arguments to detect correctly. SIZEOF_DSIZE needs -DDB_DBM_HSEARCH because db.h defines datum type - only if DB_DBM_HSEARCH is defined. + only if DB_DBM_HSEARCH is defined. Fri Nov 11 18:41:57 2011 Nobuyoshi Nakada <nobu@r...> @@ -122,7 +122,7 @@ * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead of string keys to avoid duplicating parameters in - OpenSSL::SSL:SSLContext#set_params. + OpenSSL::SSL:SSLContext#set_params. Thu Nov 10 15:02:37 2011 Nobuyoshi Nakada <nobu@r...> @@ -411,7 +411,7 @@ exponent value correctly. Awful bug. This bug caused exponent of generated key to be always '1'. By default, and regardless of e given as a parameter. - + !!! Keys generated by this code (trunk after 2011-09-01) must be re-generated !!! (ruby_1_9_3 is safe) Index: io.c =================================================================== --- io.c (revision 33723) +++ io.c (revision 33724) @@ -7925,7 +7925,7 @@ typedef int fcntl_arg_t; #endif -static long +static long fcntl_narg_len(int cmd) { long len; @@ -7974,7 +7974,7 @@ #ifdef F_SETOWN case F_SETOWN: len = sizeof(fcntl_arg_t); - break; + break; #endif #ifdef F_GETOWN_EX /* linux specific */ case F_GETOWN_EX: @@ -8045,7 +8045,7 @@ return len; } #else /* HAVE_FCNTL */ -static long +static long fcntl_narg_len(int cmd) { return 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/