cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] conga/ricci/common sys_util.c
@ 2007-09-20  1:57 rmccabe
  0 siblings, 0 replies; only message in thread
From: rmccabe @ 2007-09-20  1:57 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2007-09-20 01:57:18

Modified files:
	ricci/common   : sys_util.c 

Log message:
	Two s's went missing.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/sys_util.c.diff?cvsroot=cluster&r1=1.2&r2=1.3

--- conga/ricci/common/sys_util.c	2007/09/11 00:26:52	1.2
+++ conga/ricci/common/sys_util.c	2007/09/20 01:57:17	1.3
@@ -32,7 +32,7 @@
 	void *buf_orig = buf;
 
 	while (len > 0) {
-		size_t ret = read(fd, buf, len);
+		ssize_t ret = read(fd, buf, len);
 		if (ret < 0) {
 			if (errno == EINTR)
 				continue;
@@ -54,7 +54,7 @@
 	const void *buf_orig = buf;
 
 	while (len > 0) {
-		size_t ret = write(fd, buf, len);
+		ssize_t ret = write(fd, buf, len);
 		if (ret < 0) {
 			if (errno == EINTR)
 				continue;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-20  1:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20  1:57 [Cluster-devel] conga/ricci/common sys_util.c rmccabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).