[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18339] Re: NEW Command: absolute_path() --

From: Trans <transfire@...>
Date: 2008-08-19 16:46:24 UTC
List: ruby-core #18339

On Aug 19, 2:48=A0am, "C.E. Thornton" <ad...@hawthorne-press.com> wrote:

> Yeah, that got me too!
>
> When expand_path() expands a path containing a leading tilde(~)
> AND the directory name associated with it is a USER NAME in
> the system it ASSUMES you specifying the home area of that user!
>
> For example, =A0if I am in '/home/thornton/test' and it contains a dir
> '~thornton' expand_path() returns '/home/thornton' NOT
> '/home/thornton/test/~thornton'

Is this common practice? I mean it seems like a sucky edge case to
have to fuss with. Why not just have a separate method for that, say

  File.home_path('thornton')

I don't mind '~/' converting to HOME so much, but this USER NAME thing
seems too much, as indicated by the need of yet another method
#absolute_path.

MO,
T.

In This Thread