Ticket #6 (defect)

Opened 2 years ago

Last modified 2 years ago

win32 function name mismatch in clisp and lispworks

Status: closed (fixed)

Reported by: afuchs Assigned to: default
Priority: major Milestone: release-0.2
Component: tcp-socket Version: 0.1.0
Keywords: Cc:
Patch included: 1

some backend/*.lisp files define a remap-maybe-for-win32 function, but use a remap-for-win32 function. That prevents loading of usocket at least in lispworks/win32, but I believe it will cause trouble for clisp as well.

Here's a patch that I believe fixes this:

Index: clisp.lisp
===================================================================
--- clisp.lisp	(revision 117)
+++ clisp.lisp	(working copy)
@@ -17,8 +17,8 @@
 
 (defparameter +clisp-error-map+
   #+win32
-  (append (remap-for-win32 +unix-errno-condition-map+)
-          (remap-for-win32 +unix-errno-error-map+))
+  (append (remap-maybe-for-win32 +unix-errno-condition-map+)
+          (remap-maybe-for-win32 +unix-errno-error-map+))
   #-win32
   (append +unix-errno-condition-map+
           +unix-errno-error-map+))
Index: lispworks.lisp
===================================================================
--- lispworks.lisp	(revision 117)
+++ lispworks.lisp	(working copy)
@@ -19,8 +19,8 @@
 
 (defparameter +lispworks-error-map+
   #+win32
-  (append (remap-for-win32 +unix-errno-condition-map+)
-          (remap-for-win32 +unix-errno-error-map+))
+  (append (remap-maybe-for-win32 +unix-errno-condition-map+)
+          (remap-maybe-for-win32 +unix-errno-error-map+))
   #-win32
   (append +unix-errno-condition-map+
           +unix-errno-error-map+))

Change History

09/02/06 19:21:47: Modified by afuchs

  • patch set to 1.

09/09/06 18:11:47: Modified by ehuelsmann

  • status changed from new to closed.
  • resolution set to fixed.

Accepted and resolved this issue: patch applied in r118.