Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (400 - 402 of 1030)

Ticket Resolution Summary Owner Reporter
#646 fixed %copy-ivector-to-ivector-bytes malfunctions on x86-64 Gary Byers Alexander Gavrilov
Description

If the source and destinations are the same:

CL-USER> arr2
#(1 2 3 4 5)
CL-USER> (ccl::%copy-ivector-to-ivector-bytes arr2 0 arr2 8 12)
#(1 2 1 2 1)

This appears to fix it:

--- x86-misc.lisp       (revision 13368)
+++ x86-misc.lisp       (working copy)
@@ -135,7 +135,7 @@
     (movq (@ src-offset (% rsp)) (% rsrc))
     (cmpq (% dest) (% rsrc))
     (jne @front)
-    (cmpq (% src-byte-offset) (% dest-byte-offset))
+    (cmpq (% rsrc-byte-offset) (% dest-byte-offset))
     (jg @back)
     @front
     (testq (% nbytes) (% nbytes))
#647 fixed Printed representation of RANDOM-STATE may not be readable on 32-bit platforms R. Matthew Emerson Gary Byers
Description

On Win32 (and likely other 32-bit platforms):

? (read-from-string (format nil "~a" (make-random-state)))
> Error: value 1267438753 is not of the expected type (INTEGER 0 (2147483647)).
> While executing: INITIALIZE-MRG31K3P-STATE, in process listener(1).
#648 fixed Clozure on windows can't handle files with names containing single quotes Gary Byers eeeickythump
Description

I am reposting this message from Lispforum, because the problem appears to be specific to Clozure CL.

I have a problem with a program I have written that parses files for the game "Morrowind".

If interested the repository is at http://bitbucket.org/eeeickythump/esper/

Basically the problem is with filenames that have a single quote in them. Clozure's pathname functions seem to insist on mangling these filenames by removing the quote (which is a perfectly legal character in Windows filesystems).

Using Clozure CL 1.4 on WinXP:

CL-USER> (probe-file "c:/Morrowind/Data Files/Beryl's_Head_Replacer_v1.0.esm")  ; this is the actual filename
NIL
CL-USER> (probe-file #p"c:/Morrowind/Data Files/Beryl's_Head_Replacer_v1.0.esm")
NIL
CL-USER> (pathname "c:/Morrowind/Data Files/Beryl's_Head_Replacer_v1.0.esm")
#P"c:/Morrowind/Data Files/Beryls_Head_Replacer_v1'.0.esm"    ; note the mangling of single quotes
CL-USER> (probe-file *)
NIL
CL-USER> (pathname "c:/Morrowind/Data Files/Beryl\'s_Head_Replacer_v1.0.esm")
#P"c:/Morrowind/Data Files/Beryls_Head_Replacer_v1'.0.esm"
CL-USER> (pathname "c:/Morrowind/Data Files/Beryl\\'s_Head_Replacer_v1.0.esm")
#P"c:/Morrowind/Data Files/Beryl/s_Head_Replacer_v1'.0.esm"
CL-USER> (pathname "c:/Morrowind/Data Files/Beryl''s_Head_Replacer_v1.0.esm")   ; try 2 quotes
#P"c:/Morrowind/Data Files/Beryl''s_Head_Replacer_v1'.0.esm"    ; this fails too

I've had to release a version of the program that asks the users to rename any files with apostrophes in their names. This is rather embarrassing for someone who is trying to advocate common lisp as the best programming language around!

Can someone enlighten me as to how I can get clozure to recognise these filenames?

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