[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FR-devel] "patch" for freeride + mingw problem
From: |
Gour |
Subject: |
[FR-devel] "patch" for freeride + mingw problem |
Date: |
Wed, 16 Jul 2003 15:50:30 +0200 |
User-agent: |
Mutt/1.4i |
Hi!
Here is the small "patch" which fixes the problem wiht absolute/relative paths
in FreeRIDE when it's run in Mingw & MSYS environment:
*** ./freebase.rb Tue Jul 1 09:35:53 2003
--- /home/ggd/win/msys/1.0/home/ggd/freeride/freebase/lib/freebase/freebase.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
- [FR-devel] "patch" for freeride + mingw problem,
Gour <=