ports/cad/linuxcnc-devel/files/patch-src_libnml_buffer_recvn.c
Edward Tomasz Napierala a6e3152224 LinuxCNC controls CNC machines. It can drive milling machines,
lathes, 3d printers, laser cutters, plasma cutters, robot arms,
hexapods, and more.

- Accepts G-code input, drives CNC machines in response.
- Active user community.
- Several different GUIs available.
- Compatible with many popular machine control hardware interfaces.
- Supports rigid tapping, cutter compensation, and many other advanced
  control features.

WARNING: This port is simulation-only for now.

WWW: http://linuxcnc.org/
2016-07-13 09:18:47 +00:00

11 lines
407 B
C

--- src/libnml/buffer/recvn.c.orig 2016-06-25 02:19:12 UTC
+++ src/libnml/buffer/recvn.c
@@ -186,7 +186,7 @@ int recvn(int fd, void *vptr, int n, int
}
nrecv = 0;
} else if (nrecv == 0) {
- rcs_print_error("recvn: Premature EOF recieved.\n");
+ rcs_print_error("recvn: Premature EOF received, errno %d, bytes to read %d, flags %x.\n", errno, bytes_to_read, flags);
return (-2);
}
}