BIND 10 trac805-merged, updated. 138bb39fd8fdf323fbecdf4a1b2cabea4dcd624e [805] added the std:: prefix for signal() as we use <csignal>. SunStudio is more strict on this point.

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Jan 7 19:37:39 UTC 2012


The branch, trac805-merged has been updated
       via  138bb39fd8fdf323fbecdf4a1b2cabea4dcd624e (commit)
      from  b37cfa5481840b795a6891f0f26bfed5e498317b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 138bb39fd8fdf323fbecdf4a1b2cabea4dcd624e
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sat Jan 7 19:36:57 2012 +0000

    [805] added the std:: prefix for signal() as we use <csignal>.  SunStudio is
    more strict on this point.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/server_common/socket_request.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/server_common/socket_request.cc b/src/lib/server_common/socket_request.cc
index 61bff9f..e7695c7 100644
--- a/src/lib/server_common/socket_request.cc
+++ b/src/lib/server_common/socket_request.cc
@@ -262,7 +262,7 @@ public:
         // Note: we should eventually unify this level of details into a single
         // module.  Setting a single filter here should be considered a short
         // term workaround.
-        if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) {
+        if (std::signal(SIGPIPE, SIG_IGN) == SIG_ERR) {
             isc_throw(Unexpected, "Failed to filter SIGPIPE: " <<
                       strerror(errno));
         }




More information about the bind10-changes mailing list