[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] "patch" for freeride + mingw problem
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] "patch" for freeride + mingw problem |
Date: |
Wed, 16 Jul 2003 10:51:37 -0500 |
Gour wrote:
>
> Hi!
>
> Here is the small "patch" which fixes the problem with
> absolute/relative paths
> in FreeRIDE when it's run in Mingw & MSYS environment:
Thanks for finding this and posting the fix!
Rich/Laurent: can one of you integrate this into the codebase?
Thanks,
Curt
> *** ./freebase.rb Tue Jul 1 09:35:53 2003
> ---
> /home/ggd/win/msys/1.0/home/ggd/freeride/freebase/lib/freebase/fre
> ebase.rb Wed Jul 1
> 6 11:47:07 2003
> ***************
> *** 45,51 ****
> #
> class File
> def File.absolute_path?(path)
> ! if RUBY_PLATFORM =~ /mswin32/
> path =~ %r{^([a-zA-Z]:)*[/\\]+}
> else
> path[0..0] == File::SEPARATOR
> --- 45,51 ----
> #
> class File
> def File.absolute_path?(path)
> ! if RUBY_PLATFORM =~ /(mswin32|mingw32)/
> path =~ %r{^([a-zA-Z]:)*[/\\]+}
> else
> path[0..0] == File::SEPARATOR
>
>
> Now I discovered that the problem is that instead of toolbar
> icons I get only icons
> labeled PNG and the problem is the same no matter whether I
> launch FreeRIDE under
> MSYS console of MSDOS prompt.
>
> I'll try to investige a bit.
>
> Sincerely,
> Gour
>
> ps. I submitted a request for devel list not knowing it has
> moderated access since I
> didn't want to bother moderator with every message I send to the list.
>
> However, I don't feel qualified to be active member of
> development team considering my
> poor skills for the task.
>
> --
> Gour
> address@hidden
> Registered Linux User #278493
>
>
>
> _______________________________________________
> Freeride-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/freeride-devel
>