Patch #1 to Pcomm v1.1
hood at osiris.cso.uiuc.edu
hood at osiris.cso.uiuc.edu
Thu Sep 15 05:41:00 AEST 1988
Gee... and I thought I had found all the bugs! Fat chance, eh?
Pcomm v1.1 was posted in comp.sources.unix as v16i006 thru v16i013 just a
few days ago. This patch will fix the bug where the DTR is not always
asserted on the port during the opening sequences.
It's not a critical patch, but you never know if future patches will
depend ont it!
Emmet P. Gray US Army, HQ III Corps & Fort Hood
...!uunet!uiucuxc!fthood!egray Attn: AFZF-DE-ENV
Directorate of Engineering & Housing
Environmental Management Office
Fort Hood, TX 76544-5057
----------------------------------------------------------------------------
*** old/info.c Tue Sep 13 11:26:23 1988
--- info.c Tue Sep 13 11:26:54 1988
***************
*** 5,9
#define VERSION "1.1"
! #define DATE "21 Aug 88"
#include <stdio.h>
--- 5,9 -----
#define VERSION "1.1"
! #define DATE "13 Sep 88"
#include <stdio.h>
*** old/main.c Sun Aug 21 16:45:08 1988
--- main.c Tue Sep 13 09:41:13 1988
***************
*** 17,20
* patch #5 25 May 88
* Release v1.1 21 Aug 88
*/
--- 17,21 -----
* patch #5 25 May 88
* Release v1.1 21 Aug 88
+ * patch #1 13 Sep 88
*/
*** old/port.c Mon Aug 8 08:50:05 1988
--- port.c Tue Sep 13 11:38:34 1988
***************
*** 16,20
#include "modem.h"
! static int getty_status;
static char *lock_path = NULL;
/*
--- 16,20 -----
#include "modem.h"
! static int getty_status = 0;
static char *lock_path = NULL;
/*
***************
*** 144,149
error_win(1, file, "");
}
- /* turn off the "no delay" mode */
- fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
/* change line settings */
line_set();
--- 144,147 -----
error_win(1, file, "");
}
/* change line settings */
line_set();
***************
*** 148,151
/* change line settings */
line_set();
/* load the modem data base */
modem->m_cur = -1;
--- 146,151 -----
/* change line settings */
line_set();
+ /* turn off the "no delay" mode */
+ fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
/* load the modem data base */
modem->m_cur = -1;
***************
*** 362,366
}
#ifdef DEBUG
! fprintf(stderr, "ck_speed: checking modem '%s' for %d buad\n", modem->mname[mod], baud);
#endif /* DEBUG */
--- 362,366 -----
}
#ifdef DEBUG
! fprintf(stderr, "ck_speed: checking modem '%s' for %d baud\n", modem->mname[mod], baud);
#endif /* DEBUG */
*** old/terminal.c Sun Aug 21 09:43:05 1988
--- terminal.c Tue Sep 13 09:06:14 1988
***************
*** 429,433
close(fd);
fd = open(buf, O_RDWR|O_NDELAY);
- fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
line_set();
}
--- 429,432 -----
close(fd);
fd = open(buf, O_RDWR|O_NDELAY);
line_set();
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
***************
*** 431,434
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
line_set();
}
else
--- 430,434 -----
fd = open(buf, O_RDWR|O_NDELAY);
line_set();
+ fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
}
else
More information about the Comp.sources.bugs
mailing list