egray@fthood.UUCP (11/10/89)
This is patch #6 to the Pcomm v1.2 distribution package. This patch will fix a typo in patch #5 and fix a bug in macro.c that could cause the dereferencing of a NULL pointer. 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 ----------------------------------------------------------------------------- Prereq: "1.2.5" *** old/info.c Wed Nov 8 16:23:03 1989 --- info.c Wed Nov 8 16:24:03 1989 *************** *** 4,9 */ ! #define VERSION "1.2.5" ! #define DATE "30 Oct 89" #include <stdio.h> --- 4,9 ----- */ ! #define VERSION "1.2.6" ! #define DATE "8 Nov 89" #include <stdio.h> *** old/macro.c Wed Nov 8 16:22:17 1989 --- macro.c Wed Nov 8 16:07:45 1989 *************** *** 174,178 new = NULL; /* if space, change to null_ptr */ ! if (!strcmp(new, " ")) new = null_ptr; } --- 174,178 ----- new = NULL; /* if space, change to null_ptr */ ! else if (!strcmp(new, " ")) new = null_ptr; } *** old/main.c Wed Nov 8 16:23:03 1989 --- main.c Wed Nov 8 16:23:57 1989 *************** *** 18,21 * Patch #4 23 Jun 89 * Patch #5 30 Oct 89 */ --- 18,22 ----- * Patch #4 23 Jun 89 * Patch #5 30 Oct 89 + * Patch #6 8 Nov 89 */ *** old/tty_att.c Wed Nov 8 16:22:28 1989 --- tty_att.c Mon Nov 6 08:06:23 1989 *************** *** 273,277 tty_restart() { ! int extern fd; if (fd != -1 && *param->flow == 'X') --- 273,277 ----- tty_restart() { ! extern int fd; if (fd != -1 && *param->flow == 'X') *** old/tty_ucb.c Wed Nov 8 16:22:36 1989 --- tty_ucb.c Mon Nov 6 08:06:39 1989 *************** *** 269,273 tty_restart() { ! int extern fd; if (fd != -1 && *param->flow == 'X') --- 269,273 ----- tty_restart() { ! extern int fd; if (fd != -1 && *param->flow == 'X')