kosaki
6591e26eb2
* configure.in: removes 'ac_cv_func_fseeko=yes' form MinGW
...
specific definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:53:40 +00:00
kosaki
96ffcf557b
* file.c (rb_file_s_truncate): use correct type. chsize takes
...
a long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:42:30 +00:00
kosaki
93d061a8fd
* process.c: move '#define SPAWNV 1' to win32/Makefile.sub.
...
* win32/Makefile.sub: see above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:42:19 +00:00
kosaki
82330e919b
* configure.in: removes AC_CHECK_FUNCS(setitimer) because it's
...
unsed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:42:09 +00:00
kosaki
3f6b5aa2f8
* configure.in: removes AC_CHECK_FUNCS(pause) because it's unused.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:41:57 +00:00
kosaki
c0a30fcbf9
* signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:41:46 +00:00
kosaki
59a3943a67
* configure.in: abort if gettimeofday doesn't exist.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:41:36 +00:00
kosaki
05628d3b6d
* configure.in: removes AC_CHECK_FUNC(ftruncate64).
...
* configure.in: adds RUBY_REPLACE_TYPE(off_t) for creating
NUM2OFFT.
* file.c (rb_file_truncate): use correct type. chsize() take
a long.
* include/ruby/ruby.h (NUM2OFFT): use a definition created by
a configure script by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:41:24 +00:00
kosaki
e79f790798
* configure.in: removes AC_CHECK_FUNC(fseeko, fseeko64, ftello,
...
ftello64). They are not used from anywhere.
* win32/win32.c (fseeko): removes.
* win32/win32.c (rb_w32_ftello): removes.
* include/ruby/win32.h: removes declarations of rb_w32_ftello and
rb_w32_fseeko.
* win32/Makefile.sub: removes '#define HAVE_FTELLO 1'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:41:12 +00:00
kosaki
2d0c7e37bf
* configure.in: remove AC_CHECK_FUNC(close). It is not used from
...
anywhere.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:59 +00:00
kosaki
f15d3ff927
* configure.in: adds comments for setjmp check.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:47 +00:00
kosaki
a79cccb5c6
* configure.in: move clock_gettime() check into regular place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:35 +00:00
kosaki
7776ca930b
* configure.in: add getenv() declaration check.
...
* dln_find.c: add HAVE_DECL_GETENV test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:24 +00:00
kosaki
fa5db01644
* configure.in: sorts AC_CHECK_FUNCS()s as alphabetical order.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:12 +00:00
kosaki
2f6cab0f59
* bignum.c: remove redundant decl for big_lshift() big_rshift().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:00 +00:00
naruse
5aa618819b
* ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
...
check HAVE_TYPE_STRUCT_SOCKADDR_DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 07:09:26 +00:00
kazu
7da6744329
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 02:33:48 +00:00
kazu
6210fc9fe5
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 02:33:45 +00:00
hsbt
b9a34fd717
fixed wrong document for Socket.tcp by @lann [fix GH-302]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 01:44:06 +00:00
svn
8f88edf0f9
* 2013-05-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 18:28:36 +00:00
nobu
5b20e5e1fe
raddrinfo.c: suppress warnings
...
* ext/socket/raddrinfo.c (rsock_inspect_sockaddr): cast down
explicitly to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 18:28:32 +00:00
naruse
037ce7f6bc
* ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
...
MSVC has struct sockadddr_dl, but its content is broken.
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130511T103938Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 14:07:20 +00:00
akr
975e43b8cb
* test/rinda/test_rinda.rb: Socket.getifaddrs may returns an interface
...
which #addr method returns nil for venet0 in OpenVZ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 13:08:59 +00:00
akr
26cb14f846
* ext/socket/raddrinfo.c (rsock_inspect_sockaddr): Add casts to
...
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 13:04:39 +00:00
akr
e3a2145d22
Add debug print to investigate a failure on Travis-CI.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 12:02:08 +00:00
naruse
ae17f7ab7d
Simplify test with Socket.getifaddrs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 10:51:22 +00:00
akr
2977c53b21
Describe Socket.getifaddrs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 10:20:38 +00:00
nobu
a4501a75cd
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 08:50:40 +00:00
akr
b323d7d54c
* ext/socket: New method, Socket.getifaddrs, implemented.
...
[ruby-core:54777] [Feature #8368 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 08:32:26 +00:00
akr
fade664f91
disable test_fcntl_lock_linux on x32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11 02:50:35 +00:00
svn
690b663c54
* 2013-05-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 15:50:02 +00:00
akr
b1dd4c92ce
* gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a defining
...
condition to avoid compilation error on x32.
https://sites.google.com/site/x32abi/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 15:49:56 +00:00
nobu
ecddb96785
parse.y: invalid name as mere string
...
* parse.y (parser_peek_variable_name): treat invalid global, class,
and instance variable names as mere strings rather than errors.
[ruby-core:54885] [Bug #8375 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 14:56:40 +00:00
nobu
0542f05b32
parse.y: lex_state macros
...
* parse.y (parser_yylex): use IS_lex_state() and IS_lex_state_for()
instead of direct comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 14:56:37 +00:00
akr
980bf275fa
* configure.in: Move library checks into "Checks for libraries." part.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 11:24:06 +00:00
akr
695ad02d1b
* configure.in: Reformat arguments of AC_CHECK_HEADERS and
...
AC_CHECK_FUNCS to track modifications easily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 10:33:18 +00:00
akr
093beeda90
* configure.in: Don't link librt if clock_gettime is available in
...
the main C library.
glibc 2.17 moves clock_* from librt to the main C library.
http://sourceware.org/ml/libc-announce/2012/msg00001.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 03:01:51 +00:00
nobu
14c9944e88
* test/dtrace/helper.rb: ignore empty SUDO. reuse SUDO value by using
...
class variable. use test/unit instead of minitest/autorun. dispose
`Interrupted system call' error messages at parallel test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 01:48:20 +00:00
svn
95b690d2a7
* 2013-05-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 00:55:08 +00:00
ryan
8daa0d49cf
Fixed minitest dependency bug by removing env PARALLEL checks (no clue why that was there). Exactly the same minitest code tho.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 00:55:03 +00:00
akr
2ffbe0345d
* ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num should
...
not be negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 13:01:08 +00:00
akr
bfb334eefa
* file.c, ext/etc/etc.c, ext/socket/unixsocket.c,
...
ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use
HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 12:12:17 +00:00
akr
adb575e21e
* ext/socket/ancdata.c (bsock_sendmsg_internal): Always set
...
controls_num to raise NotImplementedError appropriately.
(bsock_recvmsg_internal): Raise NotImplementedError if
:scm_rights=>true is given on platforms which don't have
4.4BSD style control message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 11:48:29 +00:00
akr
a5e6d48dfb
* ext/socket/rubysocket.h, ext/socket/unixsocket.c,
...
ext/socket/ancdata.c: Use HAVE_STRUCT_MSGHDR_MSG_CONTROL instead
of HAVE_ST_MSG_CONTROL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 03:08:58 +00:00
zzak
029ad63b0b
* string.c: Add call-seq alias for String#=== [Bug #8381 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 02:30:47 +00:00
nobu
8e564e3ab6
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 02:18:19 +00:00
zzak
119f675189
* doc/contributing.rdoc: Add guide for contributing to CRuby
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 02:15:24 +00:00
akr
f9feb22f1a
error message refined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-08 19:58:38 +00:00
akr
18646d74dd
* configure.in: Check socket library again. shutdown() is used in
...
io.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-08 19:57:37 +00:00
akr
86d5a05c47
Update a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-08 16:55:59 +00:00