mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
a2d28759ea
Noticed by: Nicolas Rachinsky <nicolas@rachinsky.de> Approved by: portmgr (marcus)
12 lines
345 B
C
12 lines
345 B
C
--- xcut.c.orig Mon Sep 20 22:55:33 1999
|
|
+++ xcut.c Wed Sep 29 09:50:24 2004
|
|
@@ -94,7 +94,7 @@
|
|
/* Send data to stdout */
|
|
|
|
do {
|
|
- num_written += write(STDOUT_FILENO, buffer, nbytes - num_written);
|
|
+ num_written += write(STDOUT_FILENO, buffer + num_written, nbytes - num_written);
|
|
} while (num_written < nbytes);
|
|
|
|
/* Clean up */
|