Mail Archives: djgpp-workers/2001/09/16/03:29:48
On Sun, 16 Sep 2001, Charles Sandmann wrote:
> _creat and the re-open succeeds and we return the new handle. I don't
> know why this new handle isn't good enough, unless something somewhere
> doesn't expect us to "skip" handles (the one before the one we return is
> the original one we freed).
If this is the reason, we could dup2 the new handle, after we close the
old one. It should be easy to see whether this solves the problem.
If this doesn't help, I suppose we could change the order of the
open/close dance, like you originally suggested.
- Raw text -