[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] #<invalid forwarded object> using FFI callback
From: |
John Cowan |
Subject: |
Re: [Chicken-users] #<invalid forwarded object> using FFI callback |
Date: |
Sun, 8 Dec 2013 12:21:24 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
.alyn.post. scripsit:
> I'm trying to read /etc/passwd using getpwent(3) and store each
> record returned in a scheme list.
The very first thing I would try is switching to getpwent_r(), because
the fact that getpwent() uses a static buffer internally may well be
confusing Chicken.
--
John Cowan <address@hidden> http://www.ccil.org/~cowan
Raffiniert ist der Herrgott, aber boshaft ist er nicht.
--Albert Einstein