2467-3290 subjects 2894-3184

^ lib/ruby/1.9/yaml.rb:193: [BUG] Segmentation fault
2697 [batsman.geo ] Happens in both 1.9.0 (2004-03-25) and ruby 1.8.1 (2003-12-25).
+ 2698 [matz ruby-la] Too few information to debug.  Do you have any reproducing script?
+ 2705 [ruby-core wh] batsman, what is happening with this bug?  If you're still getting this,
  2706 [batsman.geo ] I'm working on it -- the bug happens during some rather long unit tests
  + 2708 [xsdg freenod] ,=20
  + 2710 [matz ruby-la] You don't have to isolate the problems as long as they are
    2729 [batsman.geo ] Please find the full sources at
    2730 [ruby-core wh] Good, good.   Thank you.

^ Bug in pp library
2699 [dave pragpro] ruby -r pp -e 'PP.singleline_pp({ 1 => 1})'
2701 [akr m17n.org] Fixed.  Thank you for the reports.
2702 [dave pragpro] No - thank you for such a rapid fix :)

^ Bug in PrettyPrint
2700 [dave pragpro] 'pp=PrettyPrint.new; pp.seplist([1,2,3]){}'

^ Proposed patch to add SSL support to net/pop.rb
2703 [daniel night] charset="us-ascii"
2704 [daniel night] charset="iso-8859-1"
2707 [daniel night] charset="iso-8859-1"
2721 [aamine lover] I think that #start has taken too many parameters.
+ 2722 [daniel night] I agree that there are a lot of arguments to #start, but I think it is the
| 2723 [austin halos] ... }
| 2728 [daniel night] That might work.
| 2733 [austin halos] Perhaps a third method could be provided that could serve this dual-duty.
| 2736 [nobu.nokada ] end
| 2737 [daniel night] I like this solution best, but that's still a few more lines than the way it
| + 2738 [d.borodaenko] Because it's ugly?
| + 2739 [aamine lover] Because it is not a good design that a method have 7 parameters.
|   2744 [daniel night] I'll reimplement based on nobu's suggestion.
+ 2740 [eivind FreeB] would give something like the following (for 1.8 - in 2.0, we have extra
  2741 [aamine lover] 1.  Matz has already discouraged use of ":name => value"
  + 2742 [eivind FreeB] (NOTE: The below is just an opinion piece, and I trust you to make a
  | 2743 [austin halos] This has also passed me by. Does anyone have a reference for this
  + 2746 [hermit-jah y] Does that mean that ":name => value" style arguments will deprecate? And
    2747 [aamine lover] m(**{a=>b, c=>d})

^ typos in lib/singleton.rb
2709 [ian caliban.] Attached is a patch to fix some spelling errors in the CVS of
2711 [matz ruby-la] Is it possible for you to turn off diff coloring?
2712 [ian caliban.] Yes. Sorry about that.
2715 [matz ruby-la] Thank you.

^ more spelling and grammar fixes
2713 [ian caliban.] After making some corrections to singleton.rb, I remembered that I had
2714 [kapheine hyp] In a lot of the places where you changed "Fail" to "failed" you missed
2716 [matz ruby-la] And two modifies for socket.c will not be accepted.
2717 [ian caliban.] Oops. Sorry for the mistakes.
2718 [matz ruby-la] Thank you.  Patches will be applied.
2734 [ian caliban.] Do you think it is worth the time to produce a similar patch for 1.8.2?
2735 [matz ruby-la] I already applied your patch to my 1.8 local copy as well.

^ one more round of exception message clean-up
2719 [ian caliban.] Here is a patch against the latest CVS that cleans up the exception

^ Re: Obtaining size of Ruby objects in C
2720 [elathan phys] I can't understand why SWIG fails.

^ Issue with rb_time_new()
2724 [djberge qwes] Ruby 1.8.1
+ 2725 [matz ruby-la] rb_time_new() takes two arguments: rb_time_new(time_t sec, time_t usec)
+ 2726 [nobu.nokada ] Originally, rb_time_new() requires two time_t arguments, but is
  2727 [matz ruby-la] I didn't notice about the <missing.h>.  Please commit.

^ Re [ruby-dev:23297] new function for matching path name (and case sensitivity depends on system)
2731 [ocean m2.ccs] I proposed new function File.match? to match path name

^ vflow 0.1a
2732 [jm transact.] For my first attempt at a ruby module I've taken on the development of

^ Reworked SSL for POP patch
2745 [daniel night] charset="us-ascii"
2773 [daniel night] Anyone have a chance to look at this yet?
2780 [aamine lover] Sorry, I missed your mail.

^ Proposal: New Bignum
2748 [evan falling] During some experiments with ruby cryptography, I found some problems with
+ 2749 [matz ruby-la] I'm not sure whether replacing current bignum is a good idea.  The
| + 2750 [evan falling] See comments below...
| | 2751 [matz ruby-la] Interesting.  Do you think MBignum is _that_ fast (and efficient)?
| + 2753 [eivind FreeB] Why would this be a problem for cryptography?  (I'm probably being
|   2756 [evan falling] I believe that Matz concern is centered around where autoconversion between
|   2757 [dave pragpro] An alternative, which is more compatible with the existing scheme,
|   2758 [evan falling] Hm. Seems like this might be a bit too magical, but it would work. Perhaps
+ 2752 [feldt ce.cha] I agree with this proposal. Python has fast bignum exponentiation in the
  + 2754 [matz ruby-la] I am open.  Either is ok that
  + 2755 [evan falling] See below.

^ Re: Make clean runs autoconf
2759 [ryand-ruby z] There is a Makefile rule that through transitive closure is dependent
2760 [nobu.nokada ] It doesn't work for other makes.
2761 [ryand-ruby z] Can we rename the "Makefile" rule to something like "rebuild-Makefile"?
2785 [nobu.nokada ] It will run everytime.

^ RDoc markup problem with \_abc_<i>def</i>
2762 [akr m17n.org] I found that RDoc formats \_abc_<i>def</i> as _abc_d<em>ef</em>.
2763 [dave pragpro] Many thanks for the report. It should be fixed now.

^ RDoc :enddoc:
2764 [akr m17n.org] I found that RDoc document some method after :enddoc:.  Is it
2765 [dave pragpro] No, it was a bug... :)
2768 [akr m17n.org] Thank you.
2769 [dave pragpro] Sigh - a special case I didn't change. Should be fixed now.
2770 [akr m17n.org] It is not fixed on my environment.  M::C is still documented as follows.
2772 [dave pragpro] The problem here is the RDoc currently interpreters :enddoc: as an
2775 [akr m17n.org] I understand that RDoc maintains a documentation-enabling flag for

^ RDoc generates a dangling hyperlink with :stopdoc without :startdoc:
2766 [akr m17n.org] I found that RDoc generate a dangling hyperlink.
2767 [dave pragpro] Hmm... Here I'm not sure what to do. I suspect that I really should
2771 [gsinclair so] No, I think that's a good idea.

^ Typo in gc.c 'descarding' should be 'discarding' [PATCH]
2774 [drbrain segm] On line 1722, 'descarding' should be 'discarding'.

^ CSV changes
2776 [dave pragpro] * remove Cell#to_str [ruby-dev:23332]
2777 [dave pragpro] "While I was documenting it recently, I have to admit I didn't
2778 [nahi keynaut] These requirements are from my old still running application.

^ Library bundling (was Re: CSV changes)
2779 [gsinclair so] I think there's some merit in that.  There are pros and cons, and it

^ CVS Question
2781 [BCoish Dymax] Just downloaded a copy of CVS from cvshome.org (windows binaries)

^ Problems with gsub, double quoted strings
2782 [boson cybers] Opening a fresh irb session (using Ruby 1.8.1 on OSX) I have the following
2784 [george.marro] In the examples above, $1 and $2 are evaluated before the call to gsub even

^ [PATCH] typos in *.c RDoc comments
2783 [djkea2 mugca] This fixes some typos in the RDoc comments for *.c It's not very

^ Possible bug in init_copy or rb_gc_copy_finalizer?
2786 [ryand-ruby z] #!/usr/bin/ruby -w
2791 [ryand-ruby z] any word?
2792 [matz ruby-la] "Will be merged".

^ [PATCH] typos in lib/* RDoc comments
2787 [djkea2 mugca] This fixes some more typos in the RDoc comments for lib/*

^ Problems building ext/io/wait.c in 1.8 branch
2788 [gsinclair so] I can't get io/wait installed.  The main problem is that it doesn't
2799 [gsinclair so] Any comments on this?
2800 [decoux moulo] cd /home/gavin/Projects/ruby18/ext/io/wait
2801 [gsinclair so] Hmmm... configure problems.  See below.
2802 [decoux moulo] The Makefiule is created only if it find FIONREAD. See the content of
2803 [gsinclair so] Here's the only mention, in /usr/include/sys/termios.h, and it doesn't

^ STARTTLS support for net/smtp
2789 [daniel night] This patch adds STARTTLS support to net/smtp.  The new methods are modeled
2798 [aamine lover] Thank you very much.

^ line tracing events
2790 [Markus.Barch] I found that line trace events are handled quite differently between
2796 [mailinglists] I can't follow you here. I don't have any problems with a non stopping
2797 [Markus.Barch] Thanks! My debugger (RDT, http://rubyeclipse.sf.net) seems to work with

^ BUG: segfault (with code)
2793 [rpav mephle.] rpav@central:lib% irb
2794 [nobu.nokada ] I guess aref_args should be a list node.
2795 [nobu.nokada ] And CVS HEAD also seems wrong, shouldn't be like the latter?
2804 [matz ruby-la] I guess you're right.  Commit the fix please.

^ Bug 1318
2805 [steven.jenki] Any comments on
+ 2806 [decoux moulo] Not really sure, but seems a problem with REXML. Add a character and it
| + 2807 [ocean m2.ccs] (2004/04/23 21:04)
| | 2808 [ser germane-] charset="iso-8859-1"
| + 2809 [steven.jenki] Yes. I can make the problem go away in several ways, none of which
|   2810 [decoux moulo] Well, if I've well understood the problem is with the buffer (@buffer)
+ 2811 [ser germane-] charset="iso-8859-1"
  2812 [steven.jenki] It passes on the test file I provided. My real test cases are still
  2813 [ser germane-] charset="iso-8859-1"

^ Tempfile strangeness in 1.9.0
2814 [steven.jenki] I didn't open a bug for this because it's from the CVS head, but it
2815 [matz ruby-la] Tempfile is a duck quacks like an IO, so that adding a method to the
2816 [steven.jenki] Sorry, my message wasn't clear. I read in the Pickaxe about Tempfile and
2817 [matz ruby-la] Use Tempfile.open instead, as you might notice already.
2818 [steven.jenki] Yes. I don't really need to use the block form, I was just debugging.

^ File.join oddity ?
2819 [holmberg iar] File.join("a", [["b"], "c"], "d")     # "a/b/c/d"
+ 2820 [djberge qwes] Extra complexity?  Unintuitive?  This behavior doesn't really surprise
| 2822 [holmberg iar] $ ruby -e 'File.open(Object.new)'
| 2823 [decoux moulo] Well, try this
+ 2821 [decoux moulo] Well, I don't know the real reason, but File::join take an Array as

^ [yaml] exponentials and double quotes in Range (Re: [syck] YAML.dump("a".."z"))
2824 [nobu.nokada ] This seems fixed now, but other issues.

^ [PATCH] ruby-mode.el indentation fix
2825 [g_ogata optu] if not_contrived?(x)
2826 [matz ruby-la] Thank you.

^ [jim@freeze.org: FileUtils Bug in 1.8.0]
2827 [jim freeze.o] Does the current installation of Ruby have this problem?
2828 [jim freeze.o] Oops, this email got out early.

^ [PATCH] lib/test/unit/testcase.rb
2829 [batsman.geo ] Problem

^ Bug in FileUtils - apathy or bad email
2830 [jim freeze.o] I've posted on this three times and have yet to see a response.
+ 2831 [steven.jenki] $ ruby -v test.rb
| 2832 [WBrown isoft] Jim,
| + 2835 [jim freeze.o] "fred" and "neighbor" are siblings. The link inside "fred" points
| + 2836 [ser germane-] charset="iso-8859-1"
+ 2837 [decoux moulo] Well, the problem is perhaps here
+ 2838 [aamine lover] I'm sorry, I was missed your mails...

^ tcktklib.c patch
2833 [ksibilev bel] Since Exception#to_str method has been removed in favor of #message

^ rb_struct_new example needed
2834 [jm transact.] If I may endulge  in the use of someone's time for a bit. I've narrowed
2839 [matz ruby-la] No.  You have to define members first by rb_struct_new() to use
2841 [jm transact.] Bashes head against keyboard. Doumo arigatou. That was it. It now runs

^ Changing Resolv::DNS
2840 [daniel night] I put out a RCR a while ago (176) that subclassed the Resolv::DNS class to
2842 [akr m17n.org] I feel this initialization style is good enough.
2847 [daniel night] I like this.  Creates a more unified Resolv class.
2884 [daniel night] Any objections to getting this committed to the tree?
2885 [akr m17n.org] It is already committed.

^ Another bug in fileutils.rb
2843 [holmberg iar] Many methods in FileUtils take either an array of arguments or a
2858 [aamine lover] Thank you very much.

^ [PATCH] ruby-mode.el indentation fix (another one)
2844 [g_ogata optu] "#{x}" if x =~ /x/

^ RDoc: m(&block) {|x| ... }
2845 [akr m17n.org] I found that RDoc generates a method headline which has both a block
2846 [dave pragpro] Good point: I've change this in the latest CVS.

^ Tempfile strangeness
2848 [flori nixe.p] this throws an exception Errno::EACCESS under Windows
+ 2849 [flori nixe.p] Thinking about it a little (ca. 1 minute) longer, i came to the
+ 2850 [matz ruby-la] How about ignoring EACCESS?  The tempfile will be removed anyway,
  + 2852 [djberge qwes] Another alternative is to wrap "closed? or close" in a "if
  | 2856 [matz ruby-la] If you close the handle for the temporary file, you can no longer have
  + 2855 [flori nixe.p] It is removed, if it is garbage collected, I assume. That would be a

^ ruby_connect's error handling
2851 [mdorey bluea] lipper.ens.fr
2854 [jlst gettysg] I can't address your discussion of multiple connect()'s in the presence

^ cgi.rb: option to omit HTTP header emission
2853 [jos catnook.] I'm trying to use cgi.rb to write HTML-only output. This patch adds a
2886 [jos catnook.] What needs to be done for this patch to become part of the official cgi.rb? If
2887 [quixoticsyco] I don't know the context of the problem you are solving, but if you don't
2888 [matz ruby-la] * converting (Japanese) text encoding.
2890 [jos catnook.] My face is so red. I was missing the obvious. Thanks to both of you for

^ RDoc ignores second argument of include.
2857 [akr m17n.org] I found that RDoc ignores second (and maybe subsequent) argument of
2859 [dave pragpro] Thank you for this report. It should be fixed in the latest CVS.

^ RDoc doesn't make a link for inner module inclusion.
2860 [akr m17n.org] I found that RDoc doesn't make a link for inner module inclusion as

^ RDoc doesn't make a link for a included module
2861 [akr m17n.org] I found another link problem.
2862 [dave pragpro] To fix this, I changed the way symbol lookup works in HTML generation.

^ RDoc: parent class link problem.
2863 [akr m17n.org] I found that RDoc doesn't make a link for a parent class in following

^ memory leak when using continuations+weakrefs?
2864 [slepnev_v ra] the following code eats up more and more memory as it works, pretty

^ Need help with NKF and encodings
2865 [dave pragpro] charset=ISO-2022-JP;
2866 [nobu.nokada ] Like this?
2868 [dave pragpro] charset=ISO-2022-JP;
2870 [matz ruby-la] I can see my name in Japanese correctly.

^ [BUG] ruby/dl
2867 [quixoticsyco] # dltest.rb

^ YAML::Store: {":..." => true}
2869 [zn mbf.nifty] % cat a.rb
2871 [nobu.nokada ] Seems syck's bug.

^ ruby-talk : 98651
2872 [decoux moulo] From the Changelog
2873 [matz ruby-la] Oops, I forgot to restore $SAFE value before execution.  Thank you for

^ minor tweak to visibility parser in rdoc
2874 [ryand-ruby z] I have a lot of code that opens itself up if it is being unit tested at
2910 [dave pragpro] A variant of your patch has been applied - thanks.
2914 [ryand zenspi] "def method arg" winds up rendering to something visually equivalent
2915 [dave pragpro] Oh, OK - I misunderstood.

^ Tempfile problem
2875 [flori nixe.p] Tempfile seems to use DelegateClass instead of SimpleDelegator in Ruby
2880 [matz ruby-la] This was caused by delegate.rb incompatibility.  It will be fixed

^ yaml last update
2876 [ksibilev bel] $ ri local
+ 2877 [ksibilev bel] $ irb
| 2882 [ruby-core wh] Thankyou.  This is repaired.  I'm restructuring the flow of multiline
+ 2883 [ruby-core wh] I can't seem to reproduce this.  Update from CVS, try again.  If it

^ Bug in open-uri under win32 (?)
2878 [batsman.geo ] batsman@tux-chan:/tmp$ cat sdfsdfsd.rb

^ [PATCH] tempfile.rb (was Re: Bug in open-uri under win32 (?))
2879 [batsman.geo ] The bug has been traced back to Tempfile, which doesn't use the binary
2881 [matz ruby-la] CVS 1.8 open-uri calls binmode for tempfile, to solve this problem.

^ 0.0.to_s
2889 [quixoticsyco] 0.0e+00
2891 [ocean m2.ccs] Thank you for the report.

^ Re: [PATCH] tempfile.rb
2892 [matt lickey.] P.S. I frequently use Tempfile as a way to place stuff in a file that

^ [Help] Problem with SOCKET API on OpenVMS
2893 [BCoish Dymax] TCP/IP socket routine(s) not functioning properly on OpenVMS.
2900 [matz ruby-la] It's not OpenVMS specific problem.  Socket.gethostbyname returns
2902 [BCoish Dymax] Thanks for the speedy reply!
2903 [decoux moulo] ^^^^^                        ^^^^^
2904 [BCoish Dymax] Thank you for your assistance.  It was quite a stupid assumption