Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Discovered by accident that I must open with the O_NDELAY option, oth…
Browse files Browse the repository at this point in the history
…erwise it did not work for me.

Signed-off-by: Patrick Quinn-Graham <make-contact@pftqg.com>
  • Loading branch information
Frank authored and thepatrick committed Mar 6, 2009
1 parent f9c78ee commit e6236dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/CWMain.m
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ + (void)MyRunner:(CWMain*)mainController
char *buf_stream, *buf_lineStart;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
buf_stream=(char *)malloc(BUFSIZE*sizeof(char));
fd = open(MODEMUIDEV, O_RDWR | O_NOCTTY );
fd = open(MODEMUIDEV, O_RDWR | O_NOCTTY | O_NDELAY );
if (fd < 0) {
[mainController performSelectorOnMainThread:@selector(noModem:) withObject:nil waitUntilDone:YES];
[pool release];
Expand Down

0 comments on commit e6236dc

Please sign in to comment.