3944-4245

3729-4093 subjects 4101-8816

^ mkmf enhancement for Win32
3944 [Daniel.Berge] It turns out that some Win32 functions, such as AttachConsole(), are
3946 [nobu.nokada ] It doesn't seem meaningful to check the compiling environment.
3952 [halostatue g] Yes, it should check the target environment as a native win32

^ Address of current client in DRb front object
3945 [drbrain segm] DRb stores the current client in Thread.current['DRb']['client'], but

^ Build failure with 1.8.2 on Win32
3947 [djberg96 yah] Win2k

^ [ ruby-Bugs-1188 ] test stalling for test_readline (in TestReadline ) with cvs HEAD on mingw
3948 [noreply ruby] Bugs item #1188, was opened at 11-12-2004 12:36

^ [ ruby-Bugs-1189 ] test stalling for test_open_pipe (in TestReadPartial) with cvs HEAD on mingw
3949 [noreply ruby] Bugs item #1189, was opened at 11-12-2004 12:43

^ [1.9] don't pass its tests
3950 [decoux moulo] <#<Set: {"a", "b", #<: {"a", "b", #<: {"a", "b"}>}>}>> expected but was

^ [ ruby-Bugs-1190 ] error using IO.popen on  ruby19 (mingw)
3951 [noreply ruby] Bugs item #1190, was opened at 11-12-2004 14:59

^ [BUG] tracer.rb tries to extract source code from binary files
3953 [florgro gmai] Moin!

^ DamageControl for Ruby
3957 [aslak.helles] I have set up a continuous build for Ruby at the DamageControl (DC)

^ Re: [ruby-cvs] ruby/lib/rexml/encodings: Merged in the changes from BSD bug report. shift-jis is now shift_jis, in
3958 [kou cozmixng] In <20041213115015.0625FC671F@lithium.ruby-lang.org>

^ [ ruby-Bugs-1200 ] Segmentation Fault with Sockets and Threads
3959 [noreply ruby] Bugs item #1200, was opened at 2004-12-13 10:18
3960 [matz ruby-la] Could someone check these bugs (#1200, #1190, #1189, #1188) against
3961 [usa garbagec] With 1.8.2, it causes IOError on mswin32/mingw32.

^ [BUG] webrick
3962 [cmills frees] Webricks logging may cause it to fail on a valid http requests (on Mac
3963 [gotoyuzo not] Sorry, I'm not familiar with DNSSD. But isn't the error of
3964 [rich infoeth] DNS Service Discovery gives you the ability to resolve LAN-local addresses
3965 [cmills frees] That fixed it.  Thanks,

^ [BUG] unknown node type 0
3966 [andrew walro] I still get this happening a lot with my Rubyx linux ruby script.

^ How does Ctrl-C on Win32 work?
3967 [djberg96 yah] I'm just curious how trap("INT") works on Win32.  I

^ [ ruby-Bugs-1208 ] webrick test_client_server does not pass
3968 [noreply ruby] Bugs item #1208, was opened at 15-12-2004 11:05
3969 [mneumann nte] This is due to method fork. I expect that when a block is given to fork,

^ Re: [BUG] unknown node type 0 - SERIOUS ENOUGH TO MIGRATE AWAY FROM RUBY?
3970 [andrew walro] This is a long standing bug in Ruby, and has been reported hundreds of times
3971 [matz ruby-la] Try recent snapshot.  The following change might fix your problem.
+ 3972 [andrew walro] Thanks matz. That certainly looks a likely candidate.
+ 4001 [andrew walro] Just an update; Almost a week now and no problems so far on the four servers I
  4005 [joaopedrosa ] That's a very good news. :-)

^ YAML::Syck::Parser#load dumps core
3973 [akr m17n.org] Ruby dumps core as follows.

^ Patch to enable innetgr() & getnetgrent() suport in Etc
3974 [jfh cise.ufl] Here's a patch to enable netgroup support in the Etc module.

^ Patches to test/unit
3975 [ryand-ruby z] I believe these are the minimal patches needed to make it possible to
+ 3979 [ryand-ruby z] would it be better to start submitting the patches to the rubyforge
| 3983 [matz ruby-la] No.  We use rubyforge to track issues, not patches.
+ 3980 [nobu.nokada ] $ ruby -rtest/unit -rtest/unit/autorunner -e Test::Unit::AutoRunner.run
  3988 [ryand-ruby z] Given that the code in test/unit.rb is only used by autorunner.rb, I

^ /lib/ruby/1.8/rational.rb:374: [BUG] Segmentation fault
3976 [andrew walro] I have been unable to reproduce this so far, but I guess the file/line-number
3977 [matz ruby-la] I'm afraid it's not. :-<

^ [ ruby-Bugs-1232 ] The latest 1.8.2 cvs generates RI documentation really long time
3978 [noreply ruby] Bugs item #1232, was opened at 2004-12-18 21:09

^ patch to cgi/session.rb
3981 [ksibilev bel] The recent change to the CGI::Session
3986 [nobu.nokada ] Thank you, fixed now.

^ [BUG] Win32: rb_sys_fail() - errno == 0
3982 [florgro gmai] Moin!
+ 3984 [djberg96 yah] Which version of Windows are you running?  And did you
+ 3987 [usa garbagec] Moin! Moin!
  3989 [florgro gmai] Moin! :)
  3990 [usa garbagec] Moin!
  4075 [Daniel.Berge] Although Florian's original code seems to work fine, I still see this
  4078 [usa garbagec] How should I do to reproduce the bug?
  4080 [Daniel.Berge] Download win32-process-0.3.1
  4111 [usa garbagec] Hmm, is the point here?
  4117 [Daniel.Berge] I'm not sure I follow, because this has worked as expected in certain
  4118 [pbrannan atd] Perhaps you need an abstraction like this one (from
  4123 [Daniel.Berge] Thanks for this Paul - I'll take a look.
  4124 [pbrannan atd] errno is a modifiable lvalue and is declared in errno.h.  It may be an

^ [ ruby-Bugs-1236 ] DL: structure with member of pointer type gives error
3991 [noreply ruby] Bugs item #1236, was opened at 2004-12-20 13:49

^ Hash#delete - inconsistent with docs
3992 [cmills frees] irb(main):001:0> h = Hash.new("go fish")
3994 [dblack wobbl] ruby -ve 'h=Hash.new("x"); h[1]=2; p h.delete("y"); p h.delete(1)'
3998 [dooby d10.ka] AFAICS, this was changed 3 years ago in rev1.58 ...

^ [bug] serious memory leak + continuations
3993 [mneumann nte] ruby 1.9.0 (2004-12-20) [i386-freebsd5.2.1]
3995 [mneumann nte] The memory leak probably results from the fact that the continuations

^ Updated ssh key
3996 [Dave PragPro] Sorry to be an idiot, but I've just updated machines. Who do I send a
3997 [matz ruby-la] For CVS account?  Send the key to cvs-admin@ruby-lang.org

^ [ ruby-Bugs-1243 ] ruby 1.8.1 installation problems on ia64/altix
3999 [noreply ruby] Bugs item #1243, was opened at 2004-12-21 19:23

^ 1.8.2 preview4
4000 [matz ruby-la] Ruby 1.8.2 preview 4 is available from
+ 4002 [tom infoethe] Yours,
| 4004 [halostatue g] -austin
+ 4003 [holmberg iar] The following example (taken from the PickAxe2 documentation of
  4007 [nobu.nokada ] Sorry, it was a fault at this time.

^ cgi.rb GET and POST values patch
4006 [eustaquioran] First of all, let me say that I'm just learning Ruby and think that is

^ Question about the latest change to test/unit library
4008 [ksibilev bel] It used to be possible to run unit test scripts by simply requiring
4012 [nobu.nokada ] I didn't think that usage, but testrb script, for such purpose.
4014 [ksibilev bel] I didn't know about testrb script. Wouldn't it make sense to keep that

^ [PATCH] cgi.rb -- more GET/POST stuff
4009 [mde state26.] First of all, I think it would be great, as Eustaquio suggests, to
4016 [sera fhwang.] GETs and POSTs are defined to be fairly different actions. I'd read
+ 4017 [eustaquioran] But what you think about keeping the values of GET and POST on different
| + 4018 [sera fhwang.] Personally, I don't have a really strong opinion about it ... Myself, I
| + 4019 [transami run] Offer both ways. And it can still be backward compat.
|   4023 [eustaquioran] params, get_params and post_params.
|   4245 [patrick hexa] This is the architecture I am looking to for Narf.  You have a hash for
+ 4020 [mde state26.] Some more thoughts / clarification on cgi.rb. This might be
+ 4024 [ruby jamesbr] <snip/>
  4026 [eustaquioran] Yeah, I think that *comparison* between languages sucks, because it
  4028 [mde state26.] First of all, the entire discussion of when GET is appropriate
  + 4029 [eustaquioran] Yeah, that's what I did, also. :-)
  + 4031 [ruby jamesbr] <snip/>
    4032 [eustaquioran] Where should we ask for something like that so?
    4035 [ruby jamesbr] My 2-cents: If you have questions or comments on the implementation
    4054 [mde state26.] Okay, the last little bit of follow up here ...
    4056 [sera fhwang.] Much of the discussion about web programming techniques can be moved to

^ YAML::Syck::Loader#transfer dumps core
4010 [akr m17n.org] Ruby dumps core as follows.
4011 [nobu.nokada ] Moin,
4013 [matz ruby-la] Commit the fix, please.

^ [ ruby-Bugs-1251 ] backtrace lost when throwing exceptions from procs defined in extensions
4015 [noreply ruby] Bugs item #1251, was opened at 2004-12-23 14:55

^ [BUG] File#reopen bug in 1.8.2
4021 [dblack wobbl] Sorry to be Scrooge... :-)
4022 [dblack wobbl] Never mind -- I think this is covered in SCSC (Second Coming of Santa

^ [ ruby-Bugs-1254 ] Rdoc crash when running on /usr/local/lib/ruby with --ri-site
4025 [noreply ruby] Bugs item #1254, was opened at 2004-12-25 14:23

^ Allowing custom number literal suffixes?
4027 [florgro gmai] Moin!
+ 4030 [Peter.Vanbro] This message is in MIME format.  The first part should be readable text,
+ 4057 [transami run] All this talk about such trivial and obviously reasonable changes to cgi.rb
+ 4070 [nobu.nokada ] As for Rational, almost cannot be represented in that way.
  + 4072 [matju sympat] Here are practical ways to achieve similar results using only standard
  | 4079 [florgro gmai] While this is a nice idea I don't feel sure about polluting the global
  | 4081 [matju sympat] Hahaha, so you prefer to pollute the Ruby grammar instead?
  | 4082 [florgro gmai] I prefer not having global methods with one-character names as those
  | + 4084 [brent mbari.] I'm not sure I would advocate making Ruby's grammar even more
  | | + 4086 [matju sympat] Funny that you mention this, because this actually changed significantly
  | | | 4107 [brent mbari.] Thanks for the warning. I'm still using 1.6.8.  Another reason to hold
  | | | + 4109 [florgro gmai] But if it's already so hard to find support for the relatively simple
  | | | | 4112 [brent mbari.] By "String suffixes" I assume you mean numeric literal suffixes
  | | | | 4113 [florgro gmai] Incorrect, I was referring to something like "foobar"Q which could work
  | | | | 4115 [brent mbari.] see those implemented;
  | | | | + 4122 [florgro gmai] I do not insist on that. It was just not necessary for my proposal.
  | | | | + 4127 [Peter.Vanbro] This message is in MIME format.  The first part should be readable text,
  | | | |   + 4129 [florgro gmai] So maybe we should go back to the String.literal_methods style?
  | | | |   | 4131 [transami run] Perhaps
  | | | |   | 4132 [brent mbari.] Could such specially named methods be invoked by anything other than
  | | | |   + 4130 [brent mbari.] This looks great.  Thank you.
  | | | + 4136 [matju sympat] It's three less letters, and five less chars if you drop the parens by
  | | + 4090 [mneumann nte] Note that this would prevent separating the parser from the runtime
  | + 4085 [matju sympat] methods of Kernel sometimes enter in conflict with other things, and it
  |   4089 [florgro gmai] Using single-letter names make the chances for conflict even more
  |   4097 [matju sympat] limiting? how so? can you elaborate on this?
  |   4100 [florgro gmai] I think an "i" suffix is more natural for imaginary numbers than "I",
  |   + 4102 [Peter.Vanbro] Well, the way I've implemented it the method call follows the usual rules
  |   | 4104 [florgro gmai] Ah, but this does cause the look-up to be context sensitive. I'd prefer
  |   + 4148 [matju sympat] Mathematica uses uppercase I for imaginary, and is by far the most used
  |     4151 [florgro gmai] So maybe it is hard to come up with a case where Syntax would be
  |     4161 [matju sympat] Yes, that's right. This has to be replaced by either B("0.5")+x or
  |     4163 [florgro gmai] Hm, did you mean extend() vs. class << obj; include(); end? I think (or
  |     4165 [matju sympat] WOOPS, yes, I did mean that. Well, the only difference is that they use
  + 4077 [florgro gmai] Moin.

^ Garbage collection trouble
4033 [chneukirchen] recently, I've been trying to use parts of libxml2 with Ruby/DL.  At
+ 4034 [mneumann nte] And I hope, this has something to do with my continuation problems I
+ 4036 [decoux moulo] try it with
  + 4037 [ttate ttsky.] It appears that source is free'ed by GC outside the method. So I think
  + 4038 [chneukirchen] No more crashes and loop so far!  You are my hero. ;-)
    4043 [decoux moulo] Well, when you work with 'dl', this is like when you write an extension,
    + 4045 [ruby-lists l] i'm right in saying that i haven't messed up
    | + 4046 [decoux moulo] Well, in this case if you call GC.disable it must work. But this is not a
    | | 4047 [ruby-lists l] it still crashes even with GC.disable
    | | 4048 [decoux moulo] svg% tail -12 pull.rb
    | + 4051 [chneukirchen] With GC.disable, it works here.  (That's why I put GC.start into the
    + 4049 [chneukirchen] This makes a lot of sense in the after-thought, but I would have
      4050 [decoux moulo] It can't do it, for many reasons

^ [PATCH] To make "Thread.critical" sections "trap" safe
4039 [brent mbari.] I recently was involved in trying to get a multi-threaded ruby motion

^ Extensions, Internal
4040 [juergen.mang] I'm currently writing an extension. Suppose two functions, to get/set a
4041 [matz ruby-la] I'm afraid I don't understand what you want.  What do you expect for a
4042 [juergen.mang] myObj.text.gsub!(/a/,"b") will not alter the string returned by #text,
4044 [decoux moulo] What you want is a delegator. No need to modify ruby.

^ YAML::Syck::Loader#transfer dumps core again
4052 [akr m17n.org] Ruby dumps core as follows.

^ Thread rendezvous with timeouts
4053 [brent mbari.] We needed an event scheduler to manage our multi-threaded motion control

^ Latest CVS HEAD ChangeLog has conflict marker
4055 [ville.mattil] Here are the details,
4058 [ville.mattil] Same goes with 1.8.2 branch
4059 [Dave PragPro] Very sorry - my fault

^ Hash#update docs
4060 [cmills frees] 1562,1563c1562,1566
4064 [eule space.c] (In response to news:3E59898C-5A83-11D9-80A4-000A95A27A10@freeshell.org by

^ curious about 1.8.2 change - empty method returns nil
4061 [ryand-ruby z] * parse.y (reduce_nodes): empty body should return nil.
4062 [matz ruby-la] def foo(a=5)
4063 [ryand-ruby z] Please forgive me. I may have missed some mail that went by in the
4066 [matz ruby-la] def foo(&b)

^ Surprise in Time#sec
4065 [steven.jenki] $ cat t1.rb
+ 4083 [steven.jenki] ...
| 4087 [matz ruby-la] I'm listening.  But I need time.
| + 4092 [steven.jenki] OK. Just wanted to make sure it hadn't gone off into the void.
| + 4095 [batkins57 gm] Is that a pun? :)
+ 4088 [nobu.nokada ] Do you mean the Time object returned by Time#getlocal should
  4094 [steven.jenki] I don't know. If you remove the call to Time#sec entirely, the examples

^ [BUG] Segfault in Thread#initialize / caller
4067 [florgro gmai] Moin!
+ 4068 [chneukirchen] Program received signal EXC_BAD_ACCESS, Could not access memory.
+ 4069 [decoux moulo] It just need to test if the thread is alive.
+ 4071 [nobu.nokada ] I think re-initialization of Thread would be too dangerous.
  + 4073 [decoux moulo] Well, personnaly I think that methods which use a thread *must* test if this
  | 4074 [decoux moulo] it's rb_thread_kill()
  + 4098 [matz ruby-la] Can you commit the fix?

^ Ruby/DL
4076 [jamis_buck b] I recently used Ruby/DL to create bindings to the SQLite3 embedded
+ 4096 [pbrannan atd] I don't think this is really feasible.  The problem is that there is no
| 4099 [decoux moulo] Why do you want to create new C functions on the fly. It use an hash, just
| 4119 [pbrannan atd] The original problem Jamis pointed out is that the number of callbacks
| + 4120 [decoux moulo] Look at callback.func and see the difference between
| | + 4121 [decoux moulo] p.s. : I've forgotten to say, if I'm right it exist a memory leak in
| | + 4125 [pbrannan atd] I don't see how to make this happen in C.  It is not possible (portably)
| |   + 4128 [batkins57 gm] I'm no C expert, so this may be completely inapplicable, but what
| |   | 4139 [pbrannan atd] Variadic functions allow a function to take multiple number of
| |   + 4133 [decoux moulo] Each time that you define an interface to a higher language, like ruby,
| |     4140 [pbrannan atd] I agree.  A callback system that does not pass back user-supplied
| |     4141 [decoux moulo] Well, there is a problem : read callback.func
| |     4143 [pbrannan atd] I do not understand you.  Or perhaps you do not understand me, or maybe
| |     4144 [decoux moulo] Well, from dl.c
| |     4145 [ttate ttsky.] I also can't see what you are getting at.
| |     4147 [decoux moulo] Well, dl must pass to rb_dl_callback_func_0() [proc, proto]
| |     4149 [ttate ttsky.] Does the data struct returned by rb_dlsym_new() mean the struct sym_data
| |     4155 [decoux moulo] When you pass `func' to qsort(), you access fatally to the struct sym_data
| |     + 4157 [nobu.nokada ] qsort() passes only the pointers to elements to be compared.
| |     | 4158 [decoux moulo] and ?
| |     | 4171 [decoux moulo] Well, I've no idea actually about this, but I want to know : it's
| |     | 4172 [nobu.nokada ] Do you mean, in rb_dlsym_call(), the case that "to_ptr"
| |     | 4173 [decoux moulo] I've applied the patch
| |     | 4174 [nobu.nokada ] rb_dlsym_call() didn't free temporary argument lists.
| |     | 4176 [decoux moulo] You have found.
| |     | 4177 [nobu.nokada ] alloca() has implicit limit for the size on many platforms, but
| |     + 4160 [ttate ttsky.] I know.
| + 4134 [matju sympat] There's this sort of code in GridFlow (found in RAA) to detect the CPU
|   4137 [florgro gmai] Isn't N^X all about that? It seems to be quite a hot thing for
|   4142 [matju sympat] What's this N^X thing? is that the hot new way to say UNIX? Or is it the
|   + 4150 [florgro gmai] Sorry, that should have been either NX (no execute) or W^X (write xor
|   | 4164 [matju sympat] Thanks. Both of those abbreviations are also new to me.
|   + 4168 [ruby-lists l] nx is a fairly well advertised and reported on feature
|     4170 [matju sympat] Ok, maybe i just don't read reviews about processors...
+ 4103 [ttate ttsky.] Jamis,
  + 4105 [tom infoethe] So folks can follow along if they're so inclined...
  + 4106 [jamis_buck b] Thanks for taking the time to respond. I look forward to Ruby/DL2!
  + 4108 [florgro gmai] Very cool. Thanks a lot in advance; I know it will be wonderful. Just
    4135 [ttate ttsky.] I'd like to add that support, however I don't have 64bit machine.
    4138 [florgro gmai] I think I could get you in contact with somebody who would be willing to
threads.html
top