Jean Boussier
ddb9d60f7d
[ruby/io-wait] Make the gem a noop on Rubies older than 2.6
...
Ref: https://github.com/mikel/mail/pull/1439
Some gems depend on io-wait, but still support older rubies,
so they have to chose between droping support or not listing io-wait.
But io-wait could act a a noop on older rubies.
https://github.com/ruby/io-wait/commit/75fcb74c32
2022-02-01 14:11:16 +09:00
Nobuyoshi Nakada
db71a04c2e
[ruby/io-wait] Fix backward compatibility with earlier versions
...
https://github.com/ruby/io-wait/commit/898248931f
2021-11-16 20:25:43 +09:00
naruse
c4fdfabcc8
handle ext/ as r53141
...
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts
fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&#
frozen_string_literal: false\n");f.rewind;f.write s}}'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:31:54 +00:00
nobu
bcf61f58d5
* ext/io/wait/{extconf.rb,wait.c}: needs sys/ioctl.h for fcntl on
...
cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26 09:11:40 +00:00
usa
a0e7746d78
* ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 08:05:06 +00:00
nobu
006f77a2f1
* ext/io/wait/extconf.rb: suspicious checking_for.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-16 07:15:22 +00:00
nobu
3db45ca3cc
* ext/io/wait/extconf.rb, ext/io/wait/wait.c: Win32 platforms support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-17 04:47:38 +00:00
nobu
94d17c1f1f
* ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]
...
* ext/extmk.rb (extmake): set library name as source file name in
Init_ext(). [ruby-dev:21137]
* lib/mkmf.rb (Logging::postpone): postpone logging messages after
heading message as the result of the block.
* lib/mkmf.rb (macro_defined?): append newline to src unless ended
with it.
* lib/mkmf.rb (have_library): allow nil function name to just
append a library. (ruby-bugs:PR#1083)
* lib/mkmf.rb (pkg_config): should append additional libraries to
$libs but not $LIBS. [ruby-dev:21137]
* ext/io/wait/extconf.rb: check DOSISH macro instead of platform.
* ext/digest/sha1/extconf.rb: have_library already appends library
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 03:11:14 +00:00
nobu
85aa73835e
* ext/io/wait/extconf.rb: removed unnecessary backward compatibility stuff.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:22:32 +00:00
nobu
eb5a52e070
* ext/io/wait: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 09:26:53 +00:00