[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] tan compilation problem

From: Vadim V. Zhytnikov
Subject: Re: [Gcl-devel] tan compilation problem
Date: Wed, 07 Aug 2002 23:11:45 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526

Camm Maguire пишет:
BTW, Vadim -- what is the right thing to do about the path issue?
I.e., can you figure out what will break if we just implement the ansi
behavior?  And could you describe for me again what that behavior is?

Take care,

In fact my old report was a bit misleading.  At present I can't
count _all_ differences between ansi standard and current gcl
behavior. But some example to get some idea

  (pathname-directory "/aaa/bbb") -> (:root "aaa")
  (pathname-directory "aaa/bbb")  -> ("aaa")

  (pathname-directory "/aaa/bbb") -> (:absolute "aaa")
  (pathname-directory "aaa/bbb")  -> (:relative "aaa")

Different keywords, different results etc.

But maybe the most important difference which directly affects
Maxima load() command could be quickly fixed without altering
the rest of pathname related GCL functions?

Compare these examples:

   (merge-pathnames "aaa/bbb" "/sss/###.mac")  ->  "/sss/aaa/bbb.mac"
   (merge-pathnames "/aaa/bbb" "/sss/###.mac") ->  "/aaa/bbb.mac"

   (merge-pathnames "aaa/bbb" "/sss/###.mac")  ->  "aaa/bbb.mac"
   (merge-pathnames "/aaa/bbb" "/sss/###.mac") ->  "/aaa/bbb.mac"

Best wishes,

     Vadim V. Zhytnikov


reply via email to

[Prev in Thread] Current Thread [Next in Thread]