[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 7f8164a20f92325febc0
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 7f8164a20f92325febc0e3644d1c3baf2e1c0b0e |
Date: |
Fri, 15 Oct 2010 20:20:04 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 7f8164a20f92325febc0e3644d1c3baf2e1c0b0e (commit)
from 88d41118235aba6f029da63201c62fedb833421a (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=7f8164a20f92325febc0e3644d1c3baf2e1c0b0e
commit 7f8164a20f92325febc0e3644d1c3baf2e1c0b0e
Author: Sandro Santilli <address@hidden>
Date: Fri Oct 15 22:19:49 2010 +0200
It's std::signal in <csignal>!
diff --git a/libbase/Socket.cpp b/libbase/Socket.cpp
index 70a6ce5..b3ea058 100644
--- a/libbase/Socket.cpp
+++ b/libbase/Socket.cpp
@@ -323,7 +323,7 @@ Socket::write(const void* src, std::streamsize num)
// For broken pipe we prefer being notified with
// a return of -1 from ::send.
- sighandler_t oldSig = signal(SIGPIPE, SIG_IGN);
+ sighandler_t oldSig = std::signal(SIGPIPE, SIG_IGN);
while (toWrite > 0) {
bytesSent = ::send(_socket, buf, toWrite, 0);
@@ -331,7 +331,7 @@ Socket::write(const void* src, std::streamsize num)
const int err = errno;
log_error("Socket send error %s", std::strerror(err));
_error = true;
- signal(SIGPIPE, oldSig);
+ std::signal(SIGPIPE, oldSig);
return 0;
}
@@ -339,7 +339,7 @@ Socket::write(const void* src, std::streamsize num)
toWrite -= bytesSent;
buf += bytesSent;
}
- signal(SIGPIPE, oldSig);
+ std::signal(SIGPIPE, oldSig);
return num - toWrite;
}
-----------------------------------------------------------------------
Summary of changes:
libbase/Socket.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. 7f8164a20f92325febc0e3644d1c3baf2e1c0b0e,
Sandro Santilli <=