[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'fseterr'
From: |
Simon Josefsson |
Subject: |
Re: new module 'fseterr' |
Date: |
Fri, 09 Mar 2007 07:35:51 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> if (dup2 (fd2, fd) < 0)
> /* Whee... we botched the stream and now cannot restore it! */
> abort ();
Hi! Consider making it possible to not use this workaround, but
rather fail with a compilation error. I wouldn't want code that
invoke abort in a library, for example.
Thanks,
Simon