* descriptors.cc: Include "options.h".
authorIan Lance Taylor <ian@airs.com>
Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)
commite85b18e10cf468cdbac014e960c9e36b071057ab
tree3001b614784b7ad3242a88164c189410924b4935
parenta89e6478375cb5c3c03ef209164ad1b7b80d6939
* descriptors.cc: Include "options.h".
(FD_CLOEXEC, O_CLOEXEC): Define if not defined.
(Descriptors::open): Always use O_CLOEXEC when opening a new
descriptor.  If we have a plugin, and O_CLOEXEC was not defined,
then set FD_CLOEXEC.
gold/ChangeLog
gold/descriptors.cc