|
|
|
|
|
|
| Author |
Message |
John E. Malmberg *nix forums Guru Wannabe
Joined: 30 May 2005
Posts: 264
|
Posted: Thu Jul 14, 2005 2:03 pm Post subject:
lib/file/spec/t/spec.t & crossplatform.t changes
|
|
|
A quick and dirty hack for spec.t so that tests will produce valid
results when the CRTL is in UNIX mode. I am sure that there is a better
way to do this.
I had the same problem with the the file that becomes vmsfspec.t, but
was unable to find a way to modify it to work with the CRTL in POSIX
mode and UNIX REPORT mode, and still have it work for the traditional
VMS modes.
In crossplatform.t, when the CRTL is in UNIX mode, and you give it the
components of a path that would be valid on UNIX, you will get a UNIX
path as a result.
-John
wb8tyw@qsl.net
Personal Opinion Only |
|
| Back to top |
|
 |
Michael G Schwern *nix forums beginner
Joined: 08 Jul 2005
Posts: 27
|
Posted: Thu Jul 14, 2005 7:27 pm Post subject:
Re: lib/file/spec/t/spec.t & crossplatform.t changes
|
|
|
On Thu, Jul 14, 2005 at 12:03:01PM -0400, John E. Malmberg wrote:
| Quote: | A quick and dirty hack for spec.t so that tests will produce valid
results when the CRTL is in UNIX mode. I am sure that there is a better
way to do this.
|
Ya know, if there's this many differences between your flavor of VMS and
the more traditional flavor rather than trying to wedge them both into
File::Spec::VMS and MM_VMS you should probably make a new subclass.
File::Spec::VMS::Unix or something.
Keep everything nice and unentangled.
--
Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern
Insulting our readers is part of our business model.
http://somethingpositive.net/sp07122005.shtml |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 8:05 am | All times are GMT
|
|
Bankruptcy | Mobile Phones | Fashion Jewelry | Credit Counseling | Dutch Bodybuilding Forums
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|