[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/common sys_util.c



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]