21632-25255
21395-23634 subjects 21819-23811
^ [Bug #1002](Closed) r21312 causes test failures on RubyGems
21632 [redmine ruby] Issue #1002 has been updated by Yuki Sonoda.
^ [Bug #1066] Frequent failure: test_io.rb test 2 on OS X 10.5.6
21633 [redmine ruby] Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
^ [Bug #1067] Dropping support for bcc32
21634 [redmine ruby] Bug #1067: Dropping support for bcc32
^ [Bug #888](Closed) zlib 1.2.3 does not work with Rubygems 1.3.1 (in Ruby 1.9.1) on Windows
21635 [redmine ruby] Issue #888 has been updated by Usaku NAKAMURA.
^ [ANN] Current status of Ruby 1.9.1
21636 [yugui yugui.] According to our plan, Ruby 1.9.1 will be released on Jan 30.
21660 [shugo ruby-l] Otsukare sama desu.
21682 [lists daesan] Thanks for fixing this!
^ [Bug #1010] Ruby-1.9's rake sh doesn't work on Windows (but fix provided)
21637 [redmine ruby] Issue #1010 has been updated by Chauk-Mean Proum.
21638 [luislavena g] Ruby 1.9.1 has been fixed to workaround the issues described with
21649 [quixoticsyco] Jim's github repository is still old. Don't merge it into svn.
^ [Bug #1068] Ruby Cannot Handle Some UIDs
21640 [redmine ruby] Bug #1068: Ruby Cannot Handle Some UIDs
21642 [neleai sezna] Any reason why not handle UID and GID as signed?
21663 [nobu ruby-la] Because they are defined as unsigned on that platform.
21665 [neleai sezna] This can be ignored. It would only display incrorectly UIDs > 2000000000
21666 [shyouhei rub] Out of curiousity, on what basis you can believe that display (and ignore your
21667 [james graypr] Well, the OS is using negative UID's. That's just a fact. If we
21668 [rocky.bernst] I am not sure one can make that assertion. It could be another OS which uses
21669 [james graypr] I feel pretty confident in my assertion. Just to be totally clear, it
21670 [rocky.bernst] That doesn't prove that the OS is using negative uids, just that programs
21672 [rocky.bernst] One small edit I'm sorry I can resist since after all this *is* a
21673 [neleai sezna] If the owner or group is specified as -1, then that ID is not
21674 [akr fsij.org] If owner or group is specified as (uid_t)-1 or (gid_t)-1, respectively,
^ [Bug #1069] wrap method in REXML::Formatters has nil problem if no line break exists in string
21643 [redmine ruby] Bug #1069: wrap method in REXML::Formatters has nil problem if no line break exists in string
^ [Bug #766] 'Not enough space' error on windows
21644 [redmine ruby] Issue #766 has been updated by Roger Pack.
^ [Bug #1066] Frequent failure: test_io.rb test 2 on OS X 10.5.6
21647 [redmine ruby] Issue #1066 has been updated by Roger Pack.
^ symbols able to eat up memory in 1.8
21648 [rogerdpack g] Currently in 1.8.7
^ [Bug #907] Various system() and backticks problems on Windows
21650 [redmine ruby] Issue #907 has been updated by James M. Lawrence.
21661 [nobu ruby-la] Just followed the habits, e.g., nmake.exe also can run built-in
21808 [rogerdpack g] As a note, if it's of any usefulness, java doesn't support built-in
^ [Bug #1010](Closed) Ruby-1.9's rake sh doesn't work on Windows (but fix provided)
21652 [redmine ruby] Issue #1010 has been updated by Nobuyoshi Nakada.
^ [BUG:1.9] crash on variable reference in BEGIN inside class
21657 [matsumoto so] ruby 1.9 crashes on variable reference in BEGIN block inside class or
^ [Bug #1003](Closed) autoload test failed on OpenSolaris
21658 [redmine ruby] Issue #1003 has been updated by Shugo Maeda.
^ [Bug #1067](Closed) Dropping support for bcc32
21678 [redmine ruby] Issue #1067 has been updated by Yuki Sonoda.
^ [Bug #1037] RDoc 2.2.2 crashes on comments beginning with '##'
21679 [redmine ruby] Issue #1037 has been updated by Suraj Kurapati.
^ [Bug #1037] RDoc 2.2.2 crashes on comments beginning with '##'
21680 [redmine ruby] Issue #1037 has been updated by Suraj Kurapati.
^ Ruby built for PPC64 under OSx Leopard hangs at start of test suite
21681 [brent mbari.] I cannot seem to build a working Ruby 1.8.7 for the PPC64 under Leopard 10.5
^ [Bug #1048](Closed) Failed to load encoding (CP936)
21683 [redmine ruby] Issue #1048 has been updated by Usaku NAKAMURA.
^ [Bug #1063](Closed) in `write': Not enough space - <STDOUT> (Errno::ENOMEM) on Windows XP
21684 [redmine ruby] Issue #1063 has been updated by Usaku NAKAMURA.
^ [Bug #1009](Closed) shadowing outer local variable in test/unit
21685 [redmine ruby] Issue #1009 has been updated by Akira Tanaka.
^ [Bug #1064] [BUG] object allocation during garbage collection phase
21686 [redmine ruby] Issue #1064 has been updated by Narihiro Nakamura.
^ [Bug #1064] [BUG] object allocation during garbage collection phase
21689 [redmine ruby] Issue #1064 has been updated by _ wanabe.
^ [Bug #1074] crash on variable reference in BEGIN inside class
21690 [redmine ruby] Bug #1074: crash on variable reference in BEGIN inside class
^ [Bug #1052](Closed) When using File.open with seek and readpartial, pos isn't updated.
21691 [redmine ruby] Issue #1052 has been updated by Akira Tanaka.
^ [Bug #1077] Ruby 1.9.1 build fails in miniruby invocation on Linux
21692 [redmine ruby] Bug #1077: Ruby 1.9.1 build fails in miniruby invocation on Linux
21693 [mame tsg.ne.] This seems to be SUSE's gcc issue. [ruby-core:18029] [ruby-core:18366]
^ [Bug #1078] Buffering or File I/O bugs when used with Rails 2.2, shown as missing bytes from the layout file
21695 [redmine ruby] Bug #1078: Buffering or File I/O bugs when used with Rails 2.2, shown as missing bytes from the layout file
^ [Bug #1079] failed autoload hangs the interpreter
21696 [redmine ruby] Bug #1079: failed autoload hangs the interpreter
^ File.dirname(__FILE__) errs after Dir.chdir
21697 [rogerdpack g] as described in
21703 [rogerdpack g] Looks like the real problem is not that __FILE__ doesn't resolve to a
^ RFC location exists?
21698 [rogerdpack g] Was there ever any concensus on a new location for putting RFC's?
21739 [duerst it.ao] My own take would be that currently, between the mailing lists
^ [Bug #1080] SSL error when running the program "gem"
21699 [redmine ruby] Bug #1080: SSL error when running the program "gem"
^ [Bug #1079](Closed) failed autoload hangs the interpreter
21700 [redmine ruby] Issue #1079 has been updated by Nobuyoshi Nakada.
^ [Feature #1081] add File::write() convenience method
21701 [redmine ruby] Feature #1081: add File::write() convenience method
+ 21705 [rogerdpack g] I don't mean to push too hard, but I would also really like this
+ 21732 [matz ruby-la] open() has following API
21735 [murphy rubyc] we badly need keyword arguments.
^ [Feature #1082] add Object#singleton_class method
21702 [redmine ruby] Feature #1082: add Object#singleton_class method
^ [Feature #1082] add Object#singleton_class method
21704 [redmine ruby] Issue #1082 has been updated by Rados¥Ê£Âw Bu¥Ê£Ât.
^ [Bug #1083] Typos in NEWS file (branch 1_9_1)
21706 [redmine ruby] Bug #1083: Typos in NEWS file (branch 1_9_1)
^ [Feature #1082] add Object#singleton_class method
21707 [redmine ruby] Issue #1082 has been updated by Kornelius Kalnbach.
21712 [dblack rubyp] singleton_class.class_eval. The less it's treated like a special case,
^ [Feature #1084] request for: Array#sort_by!
21709 [redmine ruby] Feature #1084: request for: Array#sort_by!
21727 [matz ruby-la] y!"
+ 21729 [james graypr] <redmine@ruby-lang.o=20
| 21730 [matz ruby-la] OK, OK. I will add (sometime in the future).
+ 21736 [murphy rubyc] I don't expect bang methods to be generally faster, so this wouldn't
^ [Bug #1080] SSL error when running the program "gem"
21710 [redmine ruby] Issue #1080 has been updated by Ngoc Dao.
^ [Bug #1016](Closed) Raises LocalJump exception in MiniTest::Unit.autorun.
21713 [redmine ruby] Issue #1016 has been updated by Kouji Takao.
^ [BUG:trunk] Got the error message, after run 'gem install --test'.
21714 [kouji takao7] I use ruby 1.9.1p5000 (2009-01-31 trunk 21924) [i386-darwin9.6.0].
21815 [ryand-ruby z] this is a rubygems issue that we'll fix on that side instead.
^ New documentation system!
21715 [grabber gmai] People,
+ 21716 [halostatue g] I'm not familiar with "Python Documentation". What exactly do you mean
| 21717 [znmeb cesmai] I'm not familiar with Python documentation either. And I know we've =20
| 21718 [grabber gmai] People,
| 21719 [wycats gmail] One project that has been in the works for a while and shows a lot of
| + 21720 [grabber gmai] Yehuda,
| | 21721 [radek.bulat ] Pozdrawiam
| + 21731 [charles.nutt] I'd love to see a documentation system similar to what python has, and
| 21746 [grabber gmai] People,
| + 21754 [charles.nutt] My plans wrt documentation are pretty slim. Suffice to say I'd like
| | 21756 [Daniel.Berge] =20
| | 21759 [halostatue g] I'm sorry, but I hate it.
| | + 21760 [micathom gma] Multi-methods or multiple-dispatch would be more correct in the
| | | 21774 [charles.nutt] Yes, this is exactly the sort of thing I'm thinking of. Simple type/duck
| | | 21775 [jdeville mic] DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQ2hhcmxlcy5PLk51dHRl
| | + 21761 [furr cs.umd.] Also, note that this kind of signature is quite common in the standard
| | | 21765 [halostatue g] Annotations are one thing; I have no problem with annotations.
| | | 21766 [charles.nutt] I think we can have both an annotation-aware language and clean
| | + 21763 [ruby-ml kitt] I think optional (or forced) typing is useful only in some cases.
| | 21767 [charles.nutt] I agree, it helps a limited subset of cases. But it provides a way for
| | 21768 [furr cs.umd.] This is getting slightly off-topic, but my research is exactly in this
| + 22174 [m.fellinger ] Of course, that requires Ruby 1.9.1, but we are talking about the
+ 21750 [rogerdpack g] I agree. Somehow ruby's documentation could use improvement.
+ 21928 [duerst it.ao] Sorry to be late, but my main wishes for a Ruby documentation system
| 22035 [otto.hilska ] Actually I think it's more important to have a consistent
+ 21998 [pbrannan atd] I've been playing with python documentation tools recently, as I've been
+ 22002 [rocky.bernst] I like docstrings too. I first recall encountering them not in Python but in
+ 22086 [rogerdpack g] I agree that ruby lacks something like a
22147 [pit.capitain] irb(main):001:0> RUBY_VERSION
22218 [rogerdpack g] Wow that is way cool and I would think unknown by most people [?]. It
+ 22223 [luislavena g] If you're using RubyInstaller, I've disabled both ri and rdoc
| 22225 [rogerdpack g] That's it I'm coming after you :P
| 22233 [pit.capitain] Roger, I'm sorry that I can't answer most of your questions. I'm using
| 22311 [rogerdpack g] LOL cool.
+ 22240 [m.fellinger ] p'
^ [Bug #1086] instruby.rb is broken on default Win64 install
21722 [redmine ruby] Bug #1086: instruby.rb is broken on default Win64 install
^ [Bug #1086](Closed) instruby.rb is broken on default Win64 install
21723 [redmine ruby] Issue #1086 has been updated by Nobuyoshi Nakada.
^ [Bug #1064](Closed) [BUG] object allocation during garbage collection phase
21724 [redmine ruby] Issue #1064 has been updated by Nobuyoshi Nakada.
^ [Bug #1077] Ruby 1.9.1 build fails in miniruby invocation on Linux
21725 [redmine ruby] Issue #1077 has been updated by Patrick Roemer.
^ [Bug #1078] Buffering or File I/O bugs when used with Rails 2.2, shown as missing bytes from the layout file
21726 [redmine ruby] Issue #1078 has been updated by David Trusty.
^ [Bug #1069](Closed) wrap method in REXML::Formatters has nil problem if no line break exists in string
21728 [redmine ruby] Issue #1069 has been updated by Yukihiro Matsumoto.
^ [Bug #1088] Fix for gcc43
21733 [redmine ruby] Bug #1088: Fix for gcc43
^ [Bug #1088](Closed) Fix for gcc43
21734 [redmine ruby] Issue #1088 has been updated by Shyouhei Urabe.
^ [Feature #1089] Stable sorting for sort and sort_by
21737 [redmine ruby] Feature #1089: Stable sorting for sort and sort_by
21753 [charles.nutt] I'd love to hear why you're interested in a stable sort. In JRuby, we
+ 21864 [murphy rubyc] it took me some time to answer. Your question wasn't easy ;)
| 21889 [charles.nutt] Your two cases make sense to me, and are similar to reasons I gave for
| 21890 [murphy rubyc] actually, I'd prefer the feature of "stable sort" over "fast sort". I
+ 21891 [murphy rubyc] can you remember which version if JRuby still contains the stable sort?
^ [Feature #1027](Closed) Dir.home
21738 [redmine ruby] Issue #1027 has been updated by Nobuyoshi Nakada.
^ [Bug #1083](Closed) Typos in NEWS file (branch 1_9_1)
21740 [redmine ruby] Issue #1083 has been updated by Yukihiro Matsumoto.
^ [Feature #1084](Closed) request for: Array#sort_by!
21741 [redmine ruby] Issue #1084 has been updated by Yukihiro Matsumoto.
21742 [ruby-ml kitt] This seems to break expectations for Enumerable, since the
21743 [murphy rubyc] matz only added Array#sort_by!.
21745 [ruby-ml kitt] Exactly why I am asking :)
21752 [flori nixe.p] I already asked in ruby-core:21318 and didn't get a reply, but what about
+ 21758 [radek.bulat ] hashes
| 21798 [flori nixe.p] My thinking was this: We are already paying the price in memory (2 pointers) for
+ 21856 [matz ruby-la] Although I now recognize the ordered hash as 1.9 spec, I still
21859 [murphy rubyc] I think I see your point. I always disliked Hash methods returning
^ [Feature #1084] request for: Array#sort_by!
21744 [redmine ruby] Issue #1084 has been updated by Kornelius Kalnbach.
^ [Bug #1090] zlib doesn't load after installation
21747 [redmine ruby] Bug #1090: zlib doesn't load after installation
^ [Bug #1090] zlib doesn't load after installation
21748 [redmine ruby] Issue #1090 has been updated by Luis Lavena.
21751 [rogerdpack g] One answer would be for 1.9 to err at configure time if zlib and
21755 [romanbsd yah] Or maybe just warn.
^ [Feature #1027] Dir.home
21749 [redmine ruby] Issue #1027 has been updated by Roger Pack.
^ [Bug #956] Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII
21757 [redmine ruby] Issue #956 has been updated by Tom Link.
^ [Bug #1091] possible bad handling of return value of OCSP_basic_verify in ext/openssl/ossl_ocsp.c
21762 [redmine ruby] Bug #1091: possible bad handling of return value of OCSP_basic_verify in ext/openssl/ossl_ocsp.c
^ ruby 1.9.1 in mingw - how to remove "-s" argument from gcc linking
21764 [tle holymonk] I want to use gdb to debug an application that embeds the ruby dll.
21769 [nobu ruby-la] -O0 just disables optimization but doesn't imply emitting debug info.
+ 21770 [luislavena g] By default 1.8.6 has used -g as option, does that means debug symbols
| 21772 [nobu ruby-la] 1.8 contains r20236, but it hasn't been backported to
+ 21771 [tle holymonk] ./configure --enable-shared --disable-install-doc optflags="-O0"
^ Re: mingw test-all output
21773 [rogerdpack g] Should I submit mingw test all errors as bug to redmine? [1]
21908 [rogerdpack g] All righty I'll go ahead and submit them. Please excuse the clutter
^ [Bug #1092] miniruby cause SEGV on x64-mswin64_90
21776 [redmine ruby] Bug #1092: miniruby cause SEGV on x64-mswin64_90
^ [Feature #908] Should be an easy way of reading N characters from am I/O stream
21777 [redmine ruby] Issue #908 has been updated by Akira Tanaka.
^ [Bug #859] open-uri doesn't allow redirection to https
21778 [redmine ruby] Issue #859 has been updated by Akira Tanaka.
^ [Bug #752](Closed) YAML::load has problems with older dates
21779 [redmine ruby] Issue #752 has been updated by Shyouhei Urabe.
^ [Bug #738](Feedback) Repeated calls to popen cause thread problems
21780 [redmine ruby] Issue #738 has been updated by Shyouhei Urabe.
^ [Bug #713](Closed) DST bug in Logger
21781 [redmine ruby] Issue #713 has been updated by Shyouhei Urabe.
^ [Bug #720](Closed) [patch] autoconf changes needed for uClibc stdio
21782 [redmine ruby] Issue #720 has been updated by Shyouhei Urabe.
^ [Bug #706] Segmentation fault in garbage collector ruby 1.8.7 (2008-10-31 revision 0) [x86_64-linux]
21783 [redmine ruby] Issue #706 has been updated by Yukihiro Matsumoto.
^ [Bug #798](Closed) r19320 updated REXML but didn't increment REXML::VERSION
21784 [redmine ruby] Issue #798 has been updated by Shugo Maeda.
^ [Bug #649] Memory leak in a array assignment?
21785 [redmine ruby] Issue #649 has been updated by Yukihiro Matsumoto.
^ [Bug #576] Segfault if Class.new is aliased
21786 [redmine ruby] Issue #576 has been updated by Akira Tanaka.
^ [Bug #576](Closed) Segfault if Class.new is aliased
21787 [redmine ruby] Issue #576 has been updated by Yukihiro Matsumoto.
^ [Bug #411](Closed) id collision in ordered map
21788 [redmine ruby] Issue #411 has been updated by Shyouhei Urabe.
^ [Feature #1081] add File::write() convenience method
21789 [redmine ruby] Issue #1081 has been updated by Suraj Kurapati.
^ [Bug #823](Closed) bad error recovery in Net::IMAP
21790 [redmine ruby] Issue #823 has been updated by Shugo Maeda.
^ [Bug #1093] make test fails
21791 [redmine ruby] Bug #1093: make test fails
^ [Bug #1094] fuse_common.h:32:2: error
21792 [redmine ruby] Bug #1094: fuse_common.h:32:2: error
^ [Bug #1094](Third Party's Issue) fuse_common.h:32:2: error
21793 [redmine ruby] Issue #1094 has been updated by Shyouhei Urabe.
^ [Bug #1090] zlib doesn't load after installation
21794 [redmine ruby] Issue #1090 has been updated by Jérôme Bousquié.
^ [Bug #1096] Failure: test_build_extensions_extconf_bad(TestGemInstaller)
21795 [redmine ruby] Bug #1096: Failure: test_build_extensions_extconf_bad(TestGemInstaller)
^ [Bug #859] open-uri doesn't allow redirection to https
21796 [redmine ruby] Issue #859 has been updated by Roman Shterenzon.
^ [Bug #859] open-uri doesn't allow redirection to https
21797 [redmine ruby] Issue #859 has been updated by Roman Shterenzon.
25255 [nobu ruby-la] Then your previous patch is wrong.
^ [Feature #908] Should be an easy way of reading N characters from am I/O stream
21799 [redmine ruby] Issue #908 has been updated by Rados¥Ê£Âw Bu¥Ê£Ât.
21813 [danielcavana] it seems to me that reading n bytes is now an entirely silly concept.
^ [Bug #649] Memory leak in a array assignment?
21800 [redmine ruby] Issue #649 has been updated by Kornelius Kalnbach.
^ [Bug #340] 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
21801 [redmine ruby] Issue #340 has been updated by Ollivier Robert.
^ [Bug #1098] Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
21802 [redmine ruby] Bug #1098: Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
21821 [matz ruby-la] First, since we haven't implemented direct conversion path from CP850
+ 21828 [micathom gma] conversion from CP850 to UTF-8 to ISO-8859-1
+ 21831 [duerst it.ao] Frankly speaking, I don't think we ever will. It's simply unrealistic
^ [Feature #908] Should be an easy way of reading N characters from am I/O stream
21803 [redmine ruby] Issue #908 has been updated by James Gray.
+ 21805 [radek.bulat ] I wonder also about byte-oriented IO#seek if someone want to have
+ 21824 [akr fsij.org] Ruby has similar situation. Ruby peeks magic comments of a
^ [Bug #1096](Closed) Failure: test_build_extensions_extconf_bad(TestGemInstaller)
21804 [redmine ruby] Issue #1096 has been updated by Nobuyoshi Nakada.
^ [Bug #649] Memory leak in a array assignment?
21806 [redmine ruby] Issue #649 has been updated by hemant kumar.
21810 [charles.nutt] Not heap size...heap utilization. Because most JVMs have generational
^ [Bug #1100] parsing bad YAML crashes interpreter
21807 [redmine ruby] Bug #1100: parsing bad YAML crashes interpreter
^ 1.9 Bug Report
21812 [wycats gmail] When going through the RubySpecs for 1.9, I found that the following code
21833 [mame tsg.ne.] It's by chance that your code stops in 1.8, I think.
+ 21834 [wycats gmail] Still, the infinite loops seems like a bug to me, no?
| 21837 [ruby-ml kitt] Would it be preferrable to disallow modifying the Hash while it
| + 21844 [jdeville mic] SSB0aGluayBmcmVlSW5nIHRoZSBoYXNoIGlzIGFjY2VwdGFibGUuIERvZXNuJ3QgcnVieSBmcmVl
| + 21941 [duerst it.ao] It's possible to do that, but it's a lot of work to say the least.
+ 21836 [charles.nutt] JRuby behaves the same way.
^ [Bug #1100] parsing bad YAML crashes interpreter
21814 [redmine ruby] Issue #1100 has been updated by Kazuhiro NISHIYAMA.
^ [Feature #908] Should be an easy way of reading N characters from am I/O stream
21816 [redmine ruby] Issue #908 has been updated by Michael Selig.
+ 21817 [hramrach cen] For UTF-8/UTF-16/SJIS/EUC-JP/BIG5 .. no. UTF-32 is dword aligned but
| 21818 [matz ruby-la] Right. Hence I reject the character based seek. Thank you.
+ 21825 [akr fsij.org] Fixed length characters needs variable length bytes in multibyte encoding.
21826 [michael.seli] That's right.
22100 [akr fsij.org] Whould you show an example of such format?
22125 [hramrach cen] Let's make it more general - what about the first N characters or first N lines?
22146 [akr fsij.org] I think I don't understand the usefulness until an actual
22182 [hramrach cen] I don't understand the question. N chars are N chars, they do not
22213 [akr fsij.org] I expect something like person's name, zip code, etc.
22215 [hramrach cen] As was explained by the original poster there are file formats similar
22238 [michael.seli] Yes, this is very close to the situation I was trying to explain.
22253 [akr fsij.org] This is what I'd like to hear. Thank you for explanation.
+ 22254 [hramrach cen] However, the security would be served as well by a character limit.
+ 22255 [michael.seli] Sorry, I think you have missed the point. I have input forms which accept
| 22280 [duerst it.ao] In general, I agree that being able to work with character numbers
| 22283 [michael.seli] Sure, that would be sensible. But in 1.9 we are stuck with some methods in
+ 22256 [hramrach cen] While this might ease working with the file data it might make
+ 22281 [duerst it.ao] Very much so. A typical example would be Georgia, where
22332 [akr fsij.org] I see. The name of the President of Georgia needs 30
+ 22338 [michael.seli] Sure, but how does that make it "insecure"?
| 22356 [hramrach cen] Theoretically if separate (combining) character accents are considered
| + 22358 [hramrach cen] BTW the same goes for "reading N bytes up to a character boundary"
| | 22392 [michael.seli] The current behaviour of IO#gets "limit" parameter is "read N bytes but
| | + 22393 [dooby d10.ka] A definition of "character" is insecure and the IO class isn't
| | | 22395 [michael.seli] I don't think that Ruby's multibyte encoding ever intended to support
| | + 22410 [hramrach cen] The current gets is not any more secure since it rounds up. If you
| | 22431 [michael.seli] Actually rounding *up* to the character boundary *is* more secure. You
| | 22467 [hramrach cen] Then either way is insecure because you can get an infinite loop with
| + 22390 [duerst it.ao] For actual real-life examples, much less than that.
+ 22355 [duerst it.ao] Why do you think there is a need to limit the number of bytes?
threads.html
top