aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix typos and minor editkazu2011-11-271-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (eventloop_sleep): unused.nobu2011-11-271-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* An address can be negative.naruse2011-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #5674]kosaki2011-11-272-10/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: workaround to avoid MacOS X build error.kosaki2011-11-272-1/+9
| | | | | | Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Run the test only if /dev/tty exists.naruse2011-11-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFlynaruse2011-11-262-4/+4
| | | | | | | with gcc 4.4 or later. Their environ is in /usr/libexec/ld-elf.so.1, so it will be false negative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo in r33849.naruse2011-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.naruse2011-11-262-3/+13
| | | | | | | FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be false negative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP::SSL_IVNAMES): rerefix 33701.naruse2011-11-262-8/+25
| | | | | | | SSL_ATTRIBUTES stores names for set_params, they are symbol. SSL_IVNAMES stores instance variable names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-27svn2011-11-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (copy_stream_body): use 0666 for permission argument for open.akr2011-11-262-1/+6
| | | | | | | [ruby-core:40865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_engine.rb: remove side effect of generic engineemboss2011-11-262-16/+20
| | | | | | | | load by explicitly loading software-based "openssl" engine for all tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP.get_response): enable use_sslnaruse2011-11-262-2/+12
| | | | | | | | | if given URI object is https. patched by Mark Ferlatte [ruby-core:40665] [Bug #5545] * lib/net/http.rb (Net::HTTP.post_form): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): refix 33701.naruse2011-11-262-14/+18
| | | | | | store instance variable symbol names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml (script): should be ./configureshyouhei2011-11-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml (before_script): wrong name, sorry.shyouhei2011-11-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml (before-script): autoconf required.shyouhei2011-11-262-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: Travis enable.shyouhei2011-11-262-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: remove checks for available functions.emboss2011-11-263-15/+7
| | | | | | | | | * ext/openssl/missing.h: ditto. Thanks, Tim Mooney for reporting this! [Bug #5432] [ruby-core:40088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: add comment on where to find implementationemboss2011-11-262-0/+6
| | | | | | | of OpenSSL::SSL::SSLSocket#session. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-26svn2011-11-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing fornobu2011-11-252-1/+6
| | | | | | linker flags. use RUBY_TRY_LDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (ioctl_narg_len, linux_iocparm_len): reinstantiate linuxkosaki2011-11-253-1/+47
| | | | | | | | specific narg length calculation. * test/ruby/test_io.rb (test_ioctl_linux2): add new test for old and unstructured ioctl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (EXTLDFLAGS): export it.kosaki2011-11-253-1/+13
| | | | | | | * configure.in: add --no-undefined if --enable-shared is specified. Gentoo enabled this option long time. Also, export EXTLDFALGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: turn on PIE if --enable-shared is not specified.kosaki2011-11-242-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -fstack-protector. It help to protect us fromkosaki2011-11-242-0/+6
| | | | | | stack smashing attack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -D_FORTIFY_SOURCE=2. It provide some compilekosaki2011-11-242-0/+9
| | | | | | time and runtime check for security. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: get rid of warnings of mkmf.rb if -Wmissing-declarationskosaki2011-11-242-6/+17
| | | | | | | and/or -Wold-style-definition warnings if specified. Patch by Nikolai Weibull. Thank you! [Bug #5459] [ruby-core:40200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove [read buffer ptr field in FILE structures] check.kosaki2011-11-242-37/+5
| | | | | | ruby 1.9 or later doesn't use stdio at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove [read count field in FILE] check.kosaki2011-11-242-19/+5
| | | | | | ruby 1.9 or later doesn't use stdio at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-25svn2011-11-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -Wall always.kosaki2011-11-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_engine.rb: use IO#reopen to restore stderr.akr2011-11-243-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_reopen): re-initialize buffereing mode for stdout andakr2011-11-242-0/+13
| | | | | | | | stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2011-11-241-0/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge branch 'fsync-nogvl' into trunkkosaki2011-11-242-2/+23
| | | | | | | Conflicts: ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_engine.rb: Suppress output from 'openssl'emboss2011-11-242-15/+23
| | | | | | | | engine's RC4 cipher. [Bug #5633] [ruby-core:41026] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* increase difference of priority to avoid false nagative test result.naruse2011-11-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention "patched by"emboss2011-11-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-24svn2011-11-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dsa.c: remove redundant colon from erroremboss2011-11-234-13/+21
| | | | | | | | | | message. * ext/openssl/ossl_ssl.c: ditto. * ext/openssl/ossl_pkey_rsa: ditto. [Bug #5604] [ruby-core:40896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-11-23svn2011-11-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (ioctl_narg_len): don't use _IOC_SIZE macro on Linux.naruse2011-11-233-2/+20
| | | | | | | | | | | | On Linux some constants for ioctl(2) doesn't include the size of its return value and 16bit value; for example FIONREAD 0x541B. Moreover the manual, ioctl_list(2), says "Note that the size bits are very unreliable: in lots of cases they are wrong, either because of buggy macros using sizeof(sizeof(struct)), or because of legacy values." So we shouldn't use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore mkmf generated files in ext/-test-/drbrain2011-11-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (_pioinfo): need to declare _pioinfo() before usingusa2011-11-222-0/+6
| | | | | | | _osfhnd and other macros which uses _pioinfo() internally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (_pioinfo): make an inline function.nobu2011-11-222-1/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use proc to delay making exception_details.naruse2011-11-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix for r33811.naruse2011-11-223-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (dupfd): argument of _osfhnd and so on should notnobu2011-11-222-2/+8
| | | | | | | have side effect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e