All of lore.kernel.org
 help / color / mirror / Atom feed
From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/group/lib libgroup.c
Date: 17 Nov 2006 16:30:46 -0000	[thread overview]
Message-ID: <20061117163046.25091.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	teigland at sourceware.org	2006-11-17 16:30:45

Modified files:
	group/lib      : libgroup.c 

Log message:
	if read() returns a non-EINTR error then abort

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/lib/libgroup.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.24&r2=1.24.2.1

--- cluster/group/lib/libgroup.c	2006/10/24 15:11:20	1.24
+++ cluster/group/lib/libgroup.c	2006/11/17 16:30:45	1.24.2.1
@@ -176,6 +176,8 @@
 			return -1;
 		if (rv == -1 && errno == EINTR)
 			continue;
+		if (rv == -1)
+			return -1;
 		off += rv;
 	}
 	return 0;



             reply	other threads:[~2006-11-17 16:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 16:30 teigland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-26 20:41 [Cluster-devel] cluster/group/lib libgroup.c teigland
2007-04-30 16:56 fabbione
2006-11-20 22:54 rpeterso
2006-11-17 16:30 teigland
2006-10-24 15:11 teigland
2006-10-13 17:15 teigland
2006-09-07 19:24 teigland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061117163046.25091.qmail@sourceware.org \
    --to=teigland@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.