• R/O
  • HTTP
  • SSH
  • HTTPS

kz_h8write: Commit

H8/3069F writer for KOZOS - kz_h8write


Commit MetaInfo

Revision61d24183d5c7813ee8c8170ed4e63d8999ca4a8c (tree)
Zeit2011-10-27 00:21:09
AutorShinichiro Nakamura <shinta.main.jp@gmai...>
CommiterShinichiro Nakamura

Log Message

チケット #26239 openにO_NDELAYを追加した。

Ändern Zusammenfassung

Diff

--- a/serial_linux.c
+++ b/serial_linux.c
@@ -89,7 +89,7 @@ SERIAL *serial_open(const char *devfile, const enum SerialBaud baud)
8989 * ポートを開く.
9090 */
9191 strcpy(s->devfile, devfile);
92- s->fd = open(devfile, O_RDWR | O_NOCTTY);
92+ s->fd = open(devfile, O_RDWR | O_NOCTTY | O_NDELAY);
9393 if (s->fd < 0) {
9494 free(s);
9595 return NULL;
Show on old repository browser