Patch: use close-on-exec
Andreas Schwab
schwab@suse.de
Tue Oct 28 09:43:00 GMT 2008
Tom Tromey <tromey@redhat.com> writes:
> I don't really remember most of my portability foo. I just check for
> fileno and F_GETFD. I hope that is sufficient; if not it is at least
> easily fixed.
You might want to check for FD_CLOEXEC and use 1 instead if not
defined.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list