[#2840] Changing Resolv::DNS — Daniel Hobe <daniel@...>
I put out a RCR a while ago (176) that subclassed the Resolv::DNS class to
5 messages
2004/05/01
[#2853] cgi.rb: option to omit HTTP header emission — Jos Backus <jos@...>
I'm trying to use cgi.rb to write HTML-only output. This patch adds a
5 messages
2004/05/06
[#2867] ruby/dl — Jeff Mitchell <quixoticsycophant@...>
# dltest.rb
7 messages
2004/05/12
[#2878] Bug in open-uri under win32 (?) — Mauricio Fern疣dez <batsman.geo@...>
4 messages
2004/05/16
[#2894] RI for distribution — why the lucky stiff <ruby-core@...>
Hi, everyone.
6 messages
2004/05/18
[#2901] test/yaml/test_yaml.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Hello.
2 messages
2004/05/19
[#2913] [yaml] YAML.load([1,2,3].to_yaml.to_yaml) — Jeff Mitchell <quixoticsycophant@...>
A bit contrived,
8 messages
2004/05/20
[#2926] Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml)
— "daz" <dooby@...10.karoo.co.uk>
2004/05/23
[#2927] Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml)
— ts <decoux@...>
2004/05/23
>>>>> "d" == daz <dooby@d10.karoo.co.uk> writes:
[#2928] Syck CVS (was Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml))
— why the lucky stiff <ruby-core@...>
2004/05/23
ts wrote:
[#2929] Re: Syck CVS (was Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml))
— ts <decoux@...>
2004/05/23
>>>>> "w" == why the lucky stiff <ruby-core@whytheluckystiff.net> writes:
[#2918] fixed SIG_SEGV in check_stack() in eval.c — b g <bg_rubyposter_123456@...>
I was getting a crash at 'JUMP_TAG(state);' in
6 messages
2004/05/22
[#2938] -Wstrict-prototypes for extensions — Jeff Mitchell <quixoticsycophant@...>
6 messages
2004/05/25
[Help] Problem with SOCKET API on OpenVMS
From:
BH - Brad Coish <BCoish@...>
Date:
2004-05-18 16:23:35 UTC
List:
ruby-core #2893
Problem:
TCP/IP socket routine(s) not functioning properly on OpenVMS.
Specifics:
The Socket.gethostbyname routine does not return the proper
values. It's supposed to return an array filled with the
canonical host name, sub-list of aliases, the connection family
and the address portion of the host sockaddr.
When the addrinfo length is displayed, the length of the address is
16 bytes when it should only be 4 and the pointer to the list of network
addresses (returned from the name server) is also incorrect.
Example:
require 'socket'
a = Socket.gethostbyname("216.87.136.211")
p a
Output :
["pragdave211.august.net", [], 2,"\000\002\000\000慝\210モ\000\000\000\000\000\000\000"]
Example of correct output from windows:
["pragdave211.august.net", [], 2, "\330W\210\323"]
If in make_hostent I changed:
for (ai = addr; ai; ai = ai->ai_next) {
rb_ary_push(ary, (*ipaddr)(ai->ai_addr, ai->ai_addrlen));
}
to:
for (ai = addr; ai; ai = ai->ai_next) {
rb_ary_push(ary, (*ipaddr)(h->h_addr, h->h_length));
}
Then it works
Is there something that I'm missing? Seems that the 'generic'
addrinfo class should have it's fields set by the values stored in the
hostent variable rather than ignored.
Any help would be greatly appreciated.
Regards,
Brad
**********************************************************
Brad Coish Junior Programmer
Dymaxion Research Ltd., Bus: (902)422-1973 Ext.106
5515 Cogswell St., Fax: (902)421-1267
Halifax, Nova Scotia, Internet: BCoish@dymaxion.com
Canada B3J 1R2
In the beginning the Universe was created.
This has made a lot of people very angry and been widely
regarded as a bad move.
HHG 2:1