Changeset 7289 in project


Ignore:
Timestamp:
01/07/08 00:24:27 (12 years ago)
Author:
sjamaan
Message:

Fix for b0rkenness of wmii/libixp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 9p/trunk/9p-client.scm

    r7288 r7289  
    7272    (let* ((bv (make-bit-vector 8))  ; Start out with 8 bits.  Let it grow only when needed
    7373           (con (make-9p:connection inport outport #xffffffff bv))
    74            (answer (9p:request con 'Tversion #xffffffff "9P2000")))
     74            ; We can handle message size #xffffffff but wmii/libixp crashes on that. #x7ffffff is the absolute max for it
     75           (answer (9p:request con 'Tversion #x7fffffff "9P2000")))
    7576      (cond
    7677       ((not (string=? "9P2000" (cadr (9p:message-contents answer))))
Note: See TracChangeset for help on using the changeset viewer.