From 9998578951df328ae16da51bebca1ee3b6811dd4 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 12 Nov 2011 07:49:48 +0000 Subject: [PATCH] * ChangeLog, io.c: whitespace-cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 +++++----- io.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3894699414..d95d619ab4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,7 +16,7 @@ Sat Nov 12 11:20:36 2011 KOSAKI Motohiro * 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 @@ -44,7 +44,7 @@ Sat Nov 12 11:06:02 2011 KOSAKI Motohiro * 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 @@ Fri Nov 11 21:00:05 2011 Tanaka Akira * 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 @@ -122,7 +122,7 @@ Fri Nov 11 07:33:30 2011 Eric Hodel * 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 @@ -411,7 +411,7 @@ Fri Nov 4 14:08:19 2011 Hiroshi Nakamura 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) diff --git a/io.c b/io.c index 167a5adaa8..9b73543d5d 100644 --- a/io.c +++ b/io.c @@ -7925,7 +7925,7 @@ typedef long fcntl_arg_t; typedef int fcntl_arg_t; #endif -static long +static long fcntl_narg_len(int cmd) { long len; @@ -7974,7 +7974,7 @@ fcntl_narg_len(int cmd) #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 @@ fcntl_narg_len(int cmd) return len; } #else /* HAVE_FCNTL */ -static long +static long fcntl_narg_len(int cmd) { return 0;