*** irattach.c.orig Tue Oct 16 03:32:01 2001 --- irattach.c Tue Oct 16 03:34:56 2001 *************** *** 270,275 **** --- 270,280 ---- syslog(LOG_ERR, "Failed to open %s: %m", dev); exit(1); } + /* T. Straumann, 10/2001: + * Wait a little to work around a problem on the + * Apple TiBook... + */ + sleep(1); if ((initfdflags = fcntl(fd, F_GETFL)) == -1) { syslog(LOG_ERR, "Couldn't get device fd flags: %m"); exit(1);