logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[ruby-dev:28667] Re: dlでメモリリークなど: msg#00055

Subject: [ruby-dev:28667] Re: dlでメモリリークなど
たるいです。

>ご報告及び修正に感謝します。
>まだ修正分をきちんと見ていないので、私の手元でも
>動作を確認して数日内には取り込みたいと思います。
>-- 
>Takaaki Tateishi <ttate@xxxxxxxxx>

よろしくお願いいたします。

後でメールを読み返してみて何をお願いしたいのか具体的に書いてない事に気
づいて少し恥ずかしい思いをしていましたが、わりと致命的なバグだと思うの
でruby1.8に対して修正をして欲しい。&こちらで修正してみたので折角なの
で参考になればということでDiffを添付しますと言う事でした。
意を汲んでいただきありがとうございます。

で、動作の確認ということでこちらでもdl2と比較をしていたのですが、
dl2のほうのStructのAlignも少しおかしいようです。
VC++とgcc3.4からの結果で仕様に当たったわけではないのですが、以下ような
違いがありました。

メンバが配列の時はALIGN_MAP[TYPE_VOIDP]でアラインされるようになってま
すが、これは配列のタイプ(ty[0])でアライメントを取るのが正しいかと思い
ます。また、Structのサイズで最後にもALIGN_MAP[TYPE_VOIDP]を使って(void
*)のAlignの倍数になるようにしていますが、これはStruc内のメンバのAlign
の最大値を使うのが正しいようです。

以上、すみませんがこちらも確認してみていただけますか?
よろしくお願いいたします。

--
樽家昌也(Masaya TARUI)
No Tool,No Life.




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe