Commit graph

108 commits

Author SHA1 Message Date
nobu
f6a67b6760 * lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY is defined.
[ruby-core:29922]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 04:39:33 +00:00
nobu
b2f0b3342c * lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value instead
of fragile check by platform name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 23:54:39 +00:00
nobu
75c1cac7f3 * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 21:51:01 +00:00
nobu
3657e15519 * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-20 03:30:59 +00:00
ryan
ffe69c2d6a Rolled out last change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16 03:57:14 +00:00
ryan
ad3fa7afd1 Minor cleanup to improve hash use
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16 02:50:14 +00:00
xibbar
0ef183ec84 * lib/cgi.rb: fix command-line option of
non-interactive terminal. [ruby-core:23016]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 14:39:48 +00:00
xibbar
fce5570f47 * lib/cgi.rb (CGI.unescapeHTML): fix for hex values 80-FF,
single-byte hex entity encodings from 80-FF are valid HTML.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04 14:00:41 +00:00
marcandre
9e137196a6 * lib/cgi/cookie.rb (value=): Keep CGI::Cookie#value in sync with the
cookie itself. A patch by Arthur Schreiber [ruby-core:17634]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 22:35:12 +00:00
matz
6921a6f819 * lib/cgi.rb (HTTP_STATUS): typo fixed. [ruby-dev:38538]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24 20:03:41 +00:00
knu
45b794e814 * lib/cgi.rb: $KCODE always holds its value in upper case.
* lib/jcode.rb: Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-24 15:21:49 +00:00
nobu
fe01219fca * lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
double quotes are allowed.  [ruby-list:45140]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 16:07:19 +00:00
matz
0e97a7dbd0 * lib/cgi.rb (CGI::Cookie::initialize): performance patch from
Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 07:45:26 +00:00
nobu
ee1717dc3e * lib/cgi.rb (read_multipart): exclude blanks from header values.
[ruby-list:44327]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 03:39:04 +00:00
shyouhei
e47f91a9ea * lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
[ruby-dev:30740], Thanks Kentaro KAWAMOTO.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22 22:02:44 +00:00
knu
bceea4477f * lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nph
assumption any more; submitted by MIYASAKA Masaru <alkaid AT
  coral.ocn.ne.jp> in [ruby-dev:30537].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-12 17:54:39 +00:00
knu
713920f74e * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for single
unescaped ampersand.  a patch from Tietew
  <tietew+ruby-dev at tietew.net> in [ruby-dev:30292].
  fixed: [ruby-dev:30289]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15 01:59:07 +00:00
knu
eda936e63c * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parse
a quoted-string in a Content-Disposition value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10 22:47:19 +00:00
knu
dee43eec07 Back out the previous commit which was unintended.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09 06:51:44 +00:00
knu
179eb27889 * ext/bigdecimal: Synchronize with trunk. Better function
prototypes, removal of a useless method `!=', and document
  updates.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09 06:48:51 +00:00
matz
46e8b340df * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===.  [ruby-dev:30176]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23 09:32:39 +00:00
shugo
f5d69fc57c * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote
boundary. JVN#84798830


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 23:35:45 +00:00
matz
0837449ac2 * lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content
may be empty.  a patch from Jamis Buck <jamis at 37signals.com>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-23 12:47:11 +00:00
matz
954d456a96 * lib/cgi.rb (CGI::out): specify -m0 -x option for nkf.
[ruby-dev:29284]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04 07:37:26 +00:00
matz
0abbcb67d1 revert nkf -m0 patch for UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22 09:38:19 +00:00
matz
91b1bb609e * lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. a
patch from Fujioka <fuj at rabbix.jp>.  [ruby-dev:29284]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 16:25:21 +00:00
matz
e772234fb9 * lib/cgi.rb (CGI::QueryExtension::read_multipart): check
multipart boundary end.  a patch from Fujioka <fuj at rabbix.jp>
  [ruby-dev:28470]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 07:28:31 +00:00
matz
5c8d6f1bc3 * lib/cgi.rb (CGI::out): support utf-8. a patch from Fujioka
<fuj@rabbix.jp>.  [ruby-dev:28649]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-18 08:14:38 +00:00
matz
aefba51a4a * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
not be parsed correctly.  A patch from August Z. Flatby
  (augustzf) in [ruby-Patches-2595].  [ruby-core:06183]

* pack.c (EXTEND16): [ruby-dev:27383]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-07 01:01:22 +00:00
matz
cc24eb8518 * lib/cgi.rb (CGI::Cookie): should handle multiple values for a
cookie name.  [ruby-talk:156140]

* string.c (rb_str_substr): should propagate taintness even for
  empty strings.  [ruby-dev:27121]

* string.c (rb_str_aref): should infect result if range argument
  is tainted.  [ruby-dev:27121]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-17 14:55:06 +00:00
matz
46c954bfda * lib/cgi.rb (CGI::Cookie): [ruby-talk:130040]
* object.c: [ruby-doc:818]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08 00:51:16 +00:00
matz
9c56a298e8 * eval.c (proc_invoke): nail down dyna_var node when Proc object
or continuation is created.  [ruby-dev:24671]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01 23:53:50 +00:00
matz
5e2fbb9cfa * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
should be wrapped by PUSH_TAG/POP_TAG().  [ruby-dev:24627]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 01:06:37 +00:00
matz
ece87af00c * string.c (RESIZE_CAPA): check string attribute before modifying
capacity member of string structure.  [ruby-dev:24594]

* ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
  performance.  [ruby-talk:117701]

* sprintf.c (rb_f_sprintf): raise ArgumentError for extra
  arguments, unless (digit)$ style used.

* ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
  performance.  [ruby-talk:117701]

* sprintf.c (rb_f_sprintf): raise ArgumentError for extra
  arguments, unless (digit)$ style used.

* eval.c (frame_free): Guy Decoux solved the leak problem.
  Thanks.  [ruby-core:03549]

* ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
  to avoid potential vulnerability.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 02:46:54 +00:00
matz
1784fd2790 * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMS
and CGI_COOKIES.  they will no longer be used.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 13:26:01 +00:00
matz
6e918be6b1 * gc.c, parse.y, lib/cgi.rb, lib/date.rb: last minute backports from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 14:22:11 +00:00
matz
f4c7c5dc07 * marshal.c (w_class): should not dump singleton class.
[ruby-dev:22631]

* marshal.c (class2path): check anonymous class/module before
  checking referable, and allow singleton classes.

* marshal.c (class2path): get class path and check referable.
  [ruby-dev:22588]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 07:50:04 +00:00
matz
2b5a14bf7c * eval.c (rb_eval): too many line trace call. (ruby-bugs PR#1320)
* numeric.c (flo_to_s): tweak output string based to preserve
  decimal point and to remove trailing zeros.  [ruby-talk:97891]

* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
  search.  [ruby-talk:97342]

* hash.c (rb_hash_equal): returns true if two hashes have same set
  of key-value set.  [ruby-talk:97559]

* hash.c (rb_hash_eql): returns true if two hashes are equal and
  have same default values.

* string.c (rb_str_equal): always returns true or false, never
  returns nil. [ruby-dev:23404]

* io.c (rb_io_reopen): should use rb_io_check_io().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 08:48:30 +00:00
nobu
6c30c6be3a * dln.c, io.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, lib/date.rb,
lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb,
  lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb,
  lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb,
  lib/net/http.rb, lib/net/imap.rb, lib/net/telnet.rb,
  lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb,
  lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb,
  lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:20:33 +00:00
matz
09c8c7b889 * parse.y (block_append): update nd_end for "real" head node.
[ruby-list:39058]

* eval.c (proc_eq): Proc with empty body may not be equal.
  [ruby-dev:22590]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-26 05:41:11 +00:00
nobu
3fdd33b70c * lib/cgi.rb: reduce eval.
* lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
  local_path.  [ruby-list:38883]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 11:38:48 +00:00
matz
e78cb14774 * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
String#[] if more than one arguments are specified.

* lib/delegate.rb: avoid using common instance name as "@obj".

* lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
  subclass of String, but DelegateClass(String).

* ext/curses/extconf.rb: restore function check for init_color.
  [ruby-list:38905]

* Makefile.in: need to specify $(MAINLIBS) for the miniruby
  generation rule.

* configure.in: better FreeBSD -lc_r support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 06:38:18 +00:00
matz
6212cfb9c5 * gc.c (Init_stack): stack region is far smaller than usual if
pthread is used.

* marshal.c (w_extended): singleton methods should not be checked
  when dumping via marshal_dump() or _dump(). [ruby-talk:85909]

* file.c (getcwdofdrv): avoid using getcwd() directly, use
  my_getcwd() instead.

* merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine
  <sunshine@sunshineco.com>.  [ruby-core:01596]

* marshal.c (w_object): LINK check earlier than anything else,
  i.e. do not dump TYPE_IVAR for already dumped objects.
  (ruby-bugs PR#1220)

* eval.c (rb_eval): call "inherited" only when a new class is
  generated; not on reopening.

* eval.c (eval): prepend error position in evaluating string to

* configure.in: revived NextStep, OpenStep, and Rhapsody ports which
  had become unbuildable; enhanced --enable-fat-binary option so that
  it accepts a list of desired architectures (rather than assuming a
  fixed list), or defaults to a platform-appropriate list if user does
  not provide an explicit list; made the default list of architectures
  for MAB (fat binary) more comprehensive; now uses -fno-common even
  when building the interpreter (in addition to using it for
  extensions), thus allowing the interpreter to be embedded into a
  plugin module of an external project (in addition to allowing
  embedding directly into an application); added checks for
  <netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now
  ensures that -I/usr/local/include is employed when extensions'
  extconf.rb scripts invoke have_header() since extension checks on
  NextStep and OpenStep will fail without it if the desired resource
  resides in the /usr/local tree; fixed formatting of --help message.

* Makefile.in: $(LIBRUBY_A) rule now deletes the archive before
  invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives
  (see configure's --enable-fat-binary option); added rule for new
  missing/getcwd.c.

* defines.h: fixed endian handling during MAB build (see configure's
  --enable-fat-binary option) to ensure that all portions of the
  project see the correct WORDS_BIGENDIAN value (some extension modules
  were getting the wrong endian setting); added missing constants
  GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep
  and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H
  define in NeXT section.

* dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on
  NextStep since, on some installations, this value always resolves
  uselessly to zero.

* dln.c: added error reporting to NextStep extension loader since the
  previous behavior of failing silently was not useful; now ensures
  that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined
  for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice
  on Rhapsody since this header lacks multiple-include protection,
  which resulted in "redefinition" compilation errors.

* main.c: also create hard reference to objc_msgSend() on NeXT
  platforms (in addition to Apple platforms).

* lib/mkmf.rb: now exports XCFLAGS from configure script to extension
  makefiles so that extensions can be built MAB (see configure's
  --enable-fat-binary option); also utilize XCFLAGS in cc_command()
  (but not cpp_command() because MAB flags are incompatible with
  direct invocation of `cpp').

* ext/curses/extconf.rb: now additionally checks for presence of these
  curses functions which are not present on NextStep or Openstep:
  bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),
  setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),
  wscrl(), wsetscrreg()

* ext/curses/curses.c: added appropriate #ifdef's for additional set of
  curses functions now checked by extconf.rb; fixed curses_bkgd() and
  window_bkgd() to correctly return boolean result rather than numeric
  result; fixed window_getbkgd() to correctly signal an error by
  returning nil rather than -1.

* ext/etc/etc.c: setup_passwd() and setup_group() now check for null
  pointers before invoking rb_tainted_str_new2() upon fields extracted
  from `struct passwd' and `struct group' since null pointers in some
  fields are common on NextStep/OpenStep (especially so for the
  `pw_comment' field) and rb_tainted_str_new2() throws an exception
  when it receives a null pointer.

* ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for
  platforms such as NextStep and OpenStep which lack strdup().

* ext/socket/getaddrinfo.c: cast first argument of getservbyname(),
  gethostbyaddr(), and gethostbyname() from (const char*) to non-const
  (char*) for older platforms such as NextStep and OpenStep.

* ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for
  platforms such as NextStep and OpenStep which lack strdup(); include
  <netinet/in_systm.h> if present for NextStep and OpenStep; cast first
  argument of gethostbyaddr() and getservbyname() from (const char*) to
  non-const (char*) for older platforms.

* ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for
  platforms such as NextStep and OpenStep which lack strdup().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-22 04:00:03 +00:00
wew
ea6b397daa Minor documentation fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 03:52:02 +00:00
matz
818d6a1e4f * eval.c (rb_load): allow interrupt during loaded program
evaluation.  [ruby-dev:21834]

* hash.c (rb_hash_fetch): always warn if default argument and a
  block are supplied at the same time. [ruby-dev:21842]

* hash.c (env_fetch): ditto.

* array.c (rb_ary_fetch): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 07:22:39 +00:00
matz
525336fcc9 * eval.c (proc_invoke): single array value to normal Proc#call
(i.e. not via lambda call), should be treated just like yield.
  [ruby-dev:21726]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 17:47:24 +00:00
matz
27ff072349 * eval.c (Init_Proc): taint preallocated exception object
sysstack_error. [ruby-talk:84534]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 06:53:48 +00:00
matz
91d2e58f1d * parse.y (ret_args): node may be NULL. [ruby-talk:84530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 02:30:08 +00:00
matz
befb570536 * hash.c (rb_hash_each): Hash#each should yield single value.
[ruby-talk:84420]

* hash.c (env_each): ditto for ENV.each.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24 14:31:14 +00:00
matz
8ef5da3be1 consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-16 17:47:19 +00:00