[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Replacement for posix.scm directory function
From: |
tonyg |
Subject: |
[Chicken-users] Replacement for posix.scm directory function |
Date: |
Mon, 5 Aug 2002 19:52:15 +0100 |
User-agent: |
Mutt/1.2.5i |
Hi...
I just realised that on HP/UX, the C library etc. will often return
pointers that look like "0x7f......". This means that using
C_fix/C_unfix to wrap these pointers will not work.
I chanced upon this when using posix.scm's (directory <dirname>). I've
attached a reimplementation which uses address->pointer instead of
C_fix/C_unfix... could people please review it, and if it's okay, I'll
commit it tomorrow?
Thanks.
(Of course, there's still more work to go checking each use of C_fix
to see if it's encoding a pointer which might have the high 2 bits set
to 01... darn!)
Cheers,
Tony
--
Monkeys high on math -- some of the best comedy on earth
- Tom Lord, regarding comp.lang.scheme
dir.scm
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] Replacement for posix.scm directory function,
tonyg <=