SERIAL_RAW (sr_get_desc());
+ /* If there is something sitting in the buffer we might take it as a
+ response to a command, which would be bad. */
+ SERIAL_FLUSH_INPUT (sr_get_desc ());
+
/* default retries */
if (sr_get_retries() == 0)
sr_set_retries(1);
swallowed_p = swallowed = alloca(max_length << 1);
/* and a list of pointers to current scan points. */
- plist = alloca(string_count * sizeof(*plist));
+ plist = (char **) alloca (string_count * sizeof(*plist));
/* and initialize */
for (i = 0; i < string_count; ++i)
swallowed_p = swallowed;
}
}
-
+#if 0
+ /* Never reached. */
return(-1);
+#endif
}
/* Get ready to modify the registers array. On machines which store