[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging guile runtime
From: |
Ludovic Courtès |
Subject: |
Re: debugging guile runtime |
Date: |
Tue, 30 Aug 2011 17:55:22 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Hi!
address@hidden skribis:
> The problem is not that the *ports* are not closed (they are), but that
> the other *files* (that are not port) are not closed.
Like in C, it’s up to the application to close those ports that it
considers worth closing upon exec.
If what you want is to close every FD from 3 to ∞, then the typical way
to do this is to loop over those numbers and call close(2) (that’s how
libdaemon and similar tools do that.)
Or did I miss something?
Thanks,
Ludo’.
- debugging guile runtime, rixed, 2011/08/29
- Re: debugging guile runtime, Nala Ginrut, 2011/08/29
- Re: debugging guile runtime, rixed, 2011/08/29
- Re: debugging guile runtime, Thien-Thi Nguyen, 2011/08/29
- Re: debugging guile runtime, rixed, 2011/08/30
- Re: debugging guile runtime,
Ludovic Courtès <=
- Re: debugging guile runtime, rixed, 2011/08/30
- Re: debugging guile runtime, Ludovic Courtès, 2011/08/30
- Re: debugging guile runtime, rixed, 2011/08/31
- Re: debugging guile runtime, Andy Wingo, 2011/08/31
Re: debugging guile runtime, Andy Wingo, 2011/08/31