[-]
[+]
|
Added |
flow-tools-0.68.ftio.patch
|
@@ -0,0 +1,21 @@
+--- ./lib/ftio.c Thu May 19 10:15:21 2005
++++ ./lib/ftio.c Thu May 19 10:18:44 2005
+@@ -2267,7 +2267,7 @@
+ break;
+
+ nleft -= nread;
+- (char*)ptr += nread;
++ ptr = (void*)( ((char*)ptr) + nread);
+ }
+ return (nbytes - nleft);
+ } /* readn */
+@@ -2292,7 +2292,7 @@
+ return(nwritten); /* error */
+
+ nleft -= nwritten;
+- (char*)ptr += nwritten;
++ ptr = (void*)( ((char*)ptr) + nwritten);
+ }
+ return(nbytes - nleft);
+ } /* writen */
+
|