diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-08-24 07:23:32 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-08-24 07:23:32 +0000 |
commit | 8bf34d8a27ffed48c7a43b7c7347235d389b0946 (patch) | |
tree | 36a2efd2a73c3d642829770b47f753e0160dd411 /nscd/nscd_stat.c | |
parent | d2b0f6344275bc3624e47a4d02b67a7e131f6f56 (diff) |
Updated to fedora-glibc-20050824T0705
Diffstat (limited to 'nscd/nscd_stat.c')
-rw-r--r-- | nscd/nscd_stat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c index 43f6266c6e..c1d0bffe20 100644 --- a/nscd/nscd_stat.c +++ b/nscd/nscd_stat.c @@ -133,7 +133,8 @@ send_stats (int fd, struct database_dyn dbs[lastdb]) if (selinux_enabled) nscd_avc_cache_stats (&data.cstats); - if (TEMP_FAILURE_RETRY (write (fd, &data, sizeof (data))) != sizeof (data)) + if (TEMP_FAILURE_RETRY (send (fd, &data, sizeof (data), MSG_NOSIGNAL)) + != sizeof (data)) { char buf[256]; dbg_log (_("cannot write statistics: %s"), @@ -180,7 +181,8 @@ receive_print_stats (void) req.version = NSCD_VERSION; req.type = GETSTAT; req.key_len = 0; - nbytes = TEMP_FAILURE_RETRY (write (fd, &req, sizeof (request_header))); + nbytes = TEMP_FAILURE_RETRY (send (fd, &req, sizeof (request_header), + MSG_NOSIGNAL)); if (nbytes != sizeof (request_header)) { int err = errno; |