-/* autoconf.h. Generated by configure. */
+/* autoconf.h. Generated from autoconf.h.in by configure. */
/* autoconf.h.in. Generated from configure.ac by autoheader. */
/* Name of package */
}
/* Work around buggy usb serial driver (returns 0 when no data is
- available, independent of the blocking/non-blocking mode) */
+ available, independent of the blocking/non-blocking mode).
+ Mac OS X seems to like to do this too (at least with a Keyspan 49WG)
+*/
static int buggyread(serial_source src, void *buffer, int n)
{
fd_set fds;
{
cnt = -1;
errno = EAGAIN;
- printf("foo\n");
}
return cnt;
}
else
{
message(src, msg_bad_crc);
+ free(received);
/* We don't lose sync here. If we did, garbage on the line
at startup will cause loss of the first packet. */
continue;