]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[805] added the std:: prefix for signal() as we use <csignal>. SunStudio is
authorJINMEI Tatuya <jinmei@isc.org>
Sat, 7 Jan 2012 19:36:57 +0000 (19:36 +0000)
committerJINMEI Tatuya <jinmei@isc.org>
Sat, 7 Jan 2012 19:36:57 +0000 (19:36 +0000)
more strict on this point.

src/lib/server_common/socket_request.cc

index 61bff9ff7c6bb33f4586cd5efcf1116b39903b1c..e7695c753e9e9cfddb30ea81a3fa2cd1f39071cd 100644 (file)
@@ -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));
         }