Commit Graph

10 Commits

Author SHA1 Message Date
matz 59dbfa3e4c * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
[ruby-dev:22476]

* io.c (argf_eof): ARGF.eof? should not have any side effect.
  [ruby-dev:22469]

* io.c (argf_each_byte): should return self.  [ruby-dev:22465]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 16:21:26 +00:00
matz a7b3a42850 * ext/syck/emitter.c (syck_emitter_write): str bigger than
e->bufsize causes buffer overflow.  [ruby-dev:22307]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 15:38:01 +00:00
nobu 212d962a3b C++/C99 style comments are not allowed yet. (ruby-bugs:PR#1184)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 02:47:17 +00:00
why c76c3349e4 * ext/syck/bytecode.c: Checkin of YAML bytecode support.
* ext/syck/gram.c: Ditto.

* ext/syck/syck.c: Ditto.

* ext/syck/token.c: Ditto.

* ext/syck/handler.c: Ditto.

* ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs.

* ext/syck/rubyext.c: Ditto (on both counts).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 23:15:19 +00:00
why 822a11d47e * implicit.c (syck_type_id_to_taguri): corrected detection of
x-private types.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-26 07:02:19 +00:00
why 0a75581a37 * ext/syck/syck.h: Added 'syck' yacc prefixes.
* ext/syck/gram.c: ditto.

* ext/syck/token.c: ditto.

* ext/syck: Added ruby.h reference to source files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 19:27:42 +00:00
matz 85911c410a * ext/socket/socket.c (tcp_s_gethostbyname): was using
uninitialized size_t value. [ruby-talk:76946]

* Minor cleanups.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 05:36:55 +00:00
why 4d859f926a * ext/syck/emitter.c (syck_emitter_flush): accepts count
of bytes to flush.  anchor offsets now functional.

* ext/syck/syck.h (syck_emitter_flush): ditto.

* ext/syck/rubyext.c: ditto.

* ext/syck/token.c: URI escaping now supported.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 16:30:43 +00:00
eban 9a3da66892 * ext/syck/emitter.c (syck_emitter_start_obj): cast to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 07:56:21 +00:00
why d3a43fcca0 Missed MANIFEST change and addition of ext/syck/emitter.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 23:44:37 +00:00