1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ChangeLog, io.c: whitespace-cleanup.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-11-12 07:49:48 +00:00
parent df2e1f85d2
commit 9998578951
2 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@ Sat Nov 12 11:20:36 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* 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@gmail.com>
@ -44,7 +44,7 @@ Sat Nov 12 11:06:02 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* 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 <akr@fsij.org>
* 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@ruby-lang.org>
@ -122,7 +122,7 @@ Fri Nov 11 07:33:30 2011 Eric Hodel <drbrain@segment7.net>
* 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@ruby-lang.org>
@ -411,7 +411,7 @@ Fri Nov 4 14:08:19 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
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)

6
io.c
View file

@ -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;