Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (358 - 360 of 1030)

Ticket Resolution Summary Owner Reporter
#1036 fixed #'rename-file disregards filespec when supplying defaults Orivej Desh
Description

rename-file filespec new-name should supply missing components of new-name from filespec, which it does wrong in the case of (rename-file (make-pathname :name "x.s") "y"). Presently CCL (1.8 and trunk on linuxx86) renames "x.s" to "y.s" because it resolves supplied filespec into its truename via intermediate conversion to a native namestring before supplying defaults.

This is a fix:

--- lib/pathnames.lisp.orig
+++ lib/pathnames.lisp.new
@@ -98,7 +98,7 @@
   file, then the associated file is renamed."
   (let* ((original (truename file))
         (original-namestring (native-translated-namestring original))
-        (new-name (merge-pathnames new-name original))
+        (new-name (merge-pathnames new-name (merge-pathnames file)))
         (new-namestring (native-translated-namestring new-name)))
     (unless new-namestring
       (error "~S can't be created." new-name))
#243 duplicate let bug Gary Byers Osei Poku
Description

{{{(let ((a 10))

(let ((b a)

(c (incf a)))

(format t "~A ~A ~A~%" a b c)))}}}

The following code should give 11 10 11, however openmcl produces 11 11 11.

#244 fixed let bug Gary Byers Osei Poku
Description

(let ((a 10))

(let ((b a)

(c (incf a)))

(format t "~A ~A ~A~%" a b c)))

The following code should give 11 10 11, however openmcl produces 11 11 11. '

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.