ttate
bb092343b4
Append a message for dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 11:10:12 +00:00
ttate
688c3836a4
Add ruby-dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:58:19 +00:00
ttate
7d711b817e
Add ruby-dl
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:56:13 +00:00
nobu
64b6406445
2002-04-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 08:52:55 +00:00
matz
1c6a8e4deb
* Makefile.in (CPPFLAGS): remove @includedir@.
...
* lib/mkmf.rb (create_makefile): ditto.
* ext/extmk.rb.in (create_makefile): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 06:48:45 +00:00
eban
1cfece051c
* ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 06:12:04 +00:00
ttate
edf4c88f79
mkmf.rb: files[0,1] == "." -> files[0,2] == "./"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 17:42:32 +00:00
ttate
46a7493b6c
lib/mkmf.rb: install any files using $INSTALLFILES. (from [ruby-dev:16683])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 15:01:56 +00:00
matz
de373b1b6c
* io.c (rb_io_fptr_cleanup): need flush even when io will not be
...
closed.
* io.c (rb_io_initialize): was calling wrong function
rb_io_mode_flags().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 08:31:49 +00:00
nobu
360453ce14
2002-04-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 08:07:10 +00:00
nobu
d79c23b0db
* ext/sdbm/init.c (each_pair): moved prototype before the
...
definition.
* ext/racc/cparse/cparse.c (call_scaniter): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 07:58:09 +00:00
matz
1550277b34
* re.c (match_setter): it's OK to assign nil to $~.
...
* io.c (rb_io_fptr_cleanup): do not close IO created by for_fd().
* io.c (rb_io_initialize): mark IO created by for_fd
* ext/socket/socket.c (bsock_s_for_fd): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 07:39:09 +00:00
usa
1ecdc6a115
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
...
* ext/sdbm/init.c: prototype; each_pair().
* ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
Nobu's patch at [ruby-dev:14483].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 06:21:24 +00:00
matz
564222ba27
* io.c (io_fflush): DRY patch from /Christoph applied.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 14:50:09 +00:00
nahi
76f963d077
Changed the regexp again to simplify code. See also [ruby-dev:16682].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 11:52:09 +00:00
nobu
014c5da903
* lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 11:25:01 +00:00
nobu
bf1f97ae3f
2002-03-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 09:04:05 +00:00
nobu
09651f0431
* lib/mkmf.rb (arg_config): should use Shellwords::shellwords like
...
ext/extmk.rb.in.
* lib/mkmf.rb (enable_config): default had priority over command
line options and configure_args.
* lib/mkmf.rb: support autoconf 2.53 style variables from
environment.
* lib/mkmf.rb: add directory options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 07:42:20 +00:00
usa
8e565c612d
* win32/README.win32: follow recent changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 06:49:58 +00:00
nahi
766762300b
Changed regexp for parsing break command '.*?+' to '.+'.
...
See also [ruby-dev:16652].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 03:05:11 +00:00
usa
1c023c0cbf
* win32/Makefile.sub (config.status): reflect user defined $CC in
...
config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 09:59:49 +00:00
matz
cc38f5f090
* ext/socket/socket.c (sock_addrinfo): should specify socktype
...
from outside.
* io.c (argf_binmode): should call next_argv() to initialize ARGF.
* io.c (argf_filename): ditto.
* io.c (argf_file): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 09:17:54 +00:00
aamine
ff95039936
* ext/strscan/strscan.c: add taint check.
...
* ext/strscan/strscan.c: #getch/#get_byte should set regexp registers.
* ext/strscan/strscan.c: remove useless #include directive.
* ext/strscan/strscan.c: refactor struct strscanner.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 08:53:24 +00:00
eban
e1eee80893
* io.c (READ_DATA_PENDING): configure.in has supported for uClibc,
...
so remove uClibc stuff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:55:01 +00:00
nobu
4ae4525ca4
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:52:36 +00:00
matz
cf06d8b20b
* io.c (rb_io_sysseek): new method based on a patch from Aristarkh
...
A Zagorodnikov <xm@bolotov-team.ru>. [new]
* io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:28:00 +00:00
aamine
24e4c9a0fb
change log update only.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:27:50 +00:00
aamine
1ea1fbe85d
* lib/net/http.rb: HTTP.get accepts URI.
...
* lib/net/http.rb: add some HTTP 1.1 response codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:18:02 +00:00
aamine
04168e7e3e
* doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
...
* MANIFEST: remove doc/net/* entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:17:13 +00:00
eban
ce0de3f67b
* ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 10:46:30 +00:00
eban
b427d9e859
* configure.in (FILE_READPTR): check bufread instead of bufend for uClibc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 10:14:44 +00:00
eban
8d6981cfcb
.cvsignore: add autom4te*.cache.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 06:44:52 +00:00
matz
f60b87038d
* parse.y (primary): while/until statement modifiers to "begin"
...
statement now work as "do .. while" even when begin statement
has "rescue" or "ensure" [new].
* parse.y (bodystmt): rescue/ensure is allowed at every bodies,
i.e. method bodies, begin bodies, class bodies[new], and module
bodies[new].
* ext/socket/socket.c (sock_addrinfo): should specify ai_socktype
for getaddrinfo hints.
* eval.c (rb_f_abort): embed aborting message into exception
object [new].
* eval.c (terminate_process): utility function for exit and abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 06:18:51 +00:00
usa
2244b5fabf
* win32/mkexports.rb: support VC++.NET.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 05:08:56 +00:00
knu
409f3a3b6b
* ext/bigfloat/bigfloat.c: Fix the initializer's function name
...
according to the new library name. (pointed out by nobu)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 05:05:27 +00:00
eban
59060ca1a4
* bignum.c (rb_quad_pack): get rid of escape sequences.
...
* dln.c (dln_load, __VMS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 03:01:30 +00:00
aamine
a4428fb019
lib/fileutils.rb added
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:06:50 +00:00
aamine
fb54b37850
* lib/fileutils.rb: new file.
...
* lib/README: add fileutlis.rb.
* doc/NEWS: add fileutils.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:03:04 +00:00
akr
4795daf1bc
* lib/pp.rb (pp): return nil like p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 18:24:46 +00:00
knu
c4af72cd46
* ext/bigfloat/extconf.rb: Downcase the module name. (BigFloat.so
...
-> bigfloat.so)
* ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect
format not to look like an array. (pointed out by akr)
* ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash.
* ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load):
Support marshaling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 16:51:22 +00:00
akr
6696999417
* configure.in (FILE_READPTR): check _p for 4.4BSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 15:37:44 +00:00
nobu
dfaf41d759
* configure.in (FILE_READPTR): new. for IO#gets improvement.
...
* io.c (READ_DATA_PENDING_PTR): ditto.
* io.c (remain_size): separated from read_all().
* io.c (read_all): argument chagend.
* io.c (appendline): new. get a line and append to string.
* io.c (swallow): new. swallow continuous line delimiters.
* io.c (rb_io_getline_fast): add delimiter argument.
* io.c (rb_io_getline): performance improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 14:50:40 +00:00
eban
45ca4d69aa
* ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 10:37:30 +00:00
nobu
40ceea0a75
* regex.c (mbc_startpos_func): VC6 seems to be unable to
...
understand forward declaration for static variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 09:08:15 +00:00
nobu
6dfd299dec
* dir.c (rb_push_glob): local variable 'maxnest' was
...
uninitialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 08:21:01 +00:00
eban
0f95eb4659
2002-03-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 06:21:24 +00:00
matz
e748f56a6b
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
...
allowed when $SAFE > 3.
* eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn
into THREAD_RUNNABLE on wakeup.
* eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the
list.
* eval.c (thgroup_list): ditto; by moving gid clearance from
rb_thread_cleanup().
* dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
match "foo/bar".
* io.c (read_all): files on /proc filesystem with zero stat size,
may have contents.
* ext/socket/socket.c (tcp_s_gethostbyname): refactored.
* ext/socket/socket.c (sock_s_gethostbyname): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 06:18:07 +00:00
nobu
a42bf2edd0
* dln.c (dln_argv0): unused unless USE_DLN_A_OUT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 02:09:16 +00:00
nobu
76cdd41111
* regex.c (mbc_startpos_func): shoud be static.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 01:08:45 +00:00
knu
6d182fc8bf
D'oh! Convert CR+LF to LF.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-23 20:49:07 +00:00