Changeset 13298


Ignore:
Timestamp:
05/25/11 14:32:16 (10 years ago)
Author:
Mark Evenson
Message:

Include the CLtLv2 passages MERGE-PATHNAME for version is interpreting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Pathname.java

    r13296 r13298  
    18831883            result.type = d.type;
    18841884        }
    1885         //  CLHS Function MERGE-PATHNAMES
    1886         //  "If no version is supplied, default-version is used. If
    1887         //  default-version is nil, the version component will remain
    1888         //  unchanged."
    1889         // "If pathname does not specify a name, then the version, if
    1890         //  not provided, will come from default-pathname, just like
    1891         //  the other components. If pathname does specify a name,
    1892         //  then the version is not affected by default-pathname. If
    1893         //  this process leaves the version missing, the
    1894         //  default-version is used."
     1885        //  CLtLv2 MERGE-PATHNAMES
     1886 
     1887  // "[T]he missing components in the given pathname are filled
     1888  // in from the defaults pathname, except that if no version is
     1889  // specified the default version is used."
     1890
     1891  // "The merging rules for the version are more complicated and
     1892  // depend on whether the pathname specifies a name. If the
     1893  // pathname doesn't specify a name, then the version, if not
     1894  // provided, will come from the defaults, just like the other
     1895  // components. However, if the pathname does specify a name,
     1896  // then the version is not affected by the defaults. The
     1897  // reason is that the version ``belongs to'' some other file
     1898  // name and is unlikely to have anything to do with the new
     1899  // one. Finally, if this process leaves the
     1900  // version missing, the default version is used."
     1901
    18951902        if (p.version != NIL) {
    18961903            result.version = p.version;
Note: See TracChangeset for help on using the changeset viewer.