On Sat 13 Feb 2010 12:15, Thien-Thi Nguyen writes:
> OK, i will change my current MO from posting patches to updating
> ttn/{wip-}foo branches plus signalling to the mailing list for review.
> (I will continue to ask WDYT-type questions, in any case.)
Great!
Happy hacking,
Andy
--
http://wing
() Andy Wingo
() Fri, 12 Feb 2010 21:48:20 +0100
I wonder as well; but if the API works as advertised, then the
file must be deleted, whether fclose(3) is called or not; so I
guess this part of things works out fine.
If you s/file must be deleted/filename must be removed from the
direct
Greets,
On Fri 12 Feb 2010 16:21, Thien-Thi Nguyen writes:
> (write (getpid)) (newline)
> (define tmp (tmpfile))
> (sleep 10)
> (set! tmp #f) ; lose ref
> (let loop () (gc) (sleep 1) (loop))
>
> I observed that the descriptor is listed as "/tmp/FILENAME (deleted)"
> from the beginning and t
() Andy Wingo
() Wed, 10 Feb 2010 00:17:30 +0100
Yes, I think that's probably the right answer.
On the (faint) suspicion that `scm_fdes_to_port' does not DTRT, given
the file descriptor extracted via `fileno' from the `FILE *', i ran a
small test:
(write (getpid)) (newline)
(define tmp (tm
That said, welcome back to Guile!
I'm really glad to hear this - we scheme weenies are few enough in this
world that we need to stick together!
pgpk2RfJafl3B.pgp
Description: PGP signature
On Tue 09 Feb 2010 10:07, Thien-Thi Nguyen writes:
> () Andy Wingo
> () Mon, 08 Feb 2010 12:11:17 +0100
>
>I think this sounds like a good idea. I have a few concerns, though if
>none of them can be nicely addressed I'd still be happy adding tmpfile.
>
> I'm happy to see Ken Raeburn answ