OSDN Git Service

* descriptors.cc: Include "options.h".
authorian <ian>
Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)
committerian <ian>
Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)
commit902334fe1487c823beca6a7be7b84b4a23529d22
treebb94b4508908b89ccf9c266421e8005dcca82420
parentb298f394b03189250b65ea310d8d71895d7d61bd
* 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