Patch #2 to Pcomm v1.2
egray at fthood.UUCP
egray at fthood.UUCP
Sat Mar 11 12:45:00 AEST 1989
This is patch #2 to the Pcomm v1.2 distribution package. This patch
will fix a problem that could cause segmentation faults when updating
the dialing directory.
Somebody reported this to me a while ago... but I must have lost the
note.
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.1"
*** old/info.c Tue Mar 7 11:15:48 1989
--- info.c Tue Mar 7 11:16:39 1989
***************
*** 4,9
*/
! #define VERSION "1.2.1"
! #define DATE "18 Feb 89"
#include <stdio.h>
--- 4,9 -----
*/
! #define VERSION "1.2.2"
! #define DATE "11 Mar 89"
#include <stdio.h>
*** old/main.c Tue Mar 7 11:15:49 1989
--- main.c Tue Mar 7 11:17:05 1989
***************
*** 14,17
* Release v1.2.0 4 Feb 89
* Patch #1 18 Feb 89
*/
--- 14,18 -----
* Release v1.2.0 4 Feb 89
* Patch #1 18 Feb 89
+ * Patch #2 11 Mar 89
*/
*** old/d_lib.c Tue Mar 7 10:17:52 1989
--- d_lib.c Tue Mar 7 12:16:34 1989
***************
*** 172,177
if (entry <= dir->d_entries)
! free_ptr(temp[entry]);
! temp[entry] = str_dup(buf);
/* fill in holes if beyond end */
if (entry > dir->d_entries+1) {
--- 172,179 -----
if (entry <= dir->d_entries)
! temp[entry] = str_rep(temp[entry], buf);
! else
! temp[entry] = str_dup(buf);
!
/* fill in holes if beyond end */
if (entry > dir->d_entries+1) {
***************
*** 180,184
param->d_baud, param->d_parity, param->d_dbits,
param->d_sbits, *param->d_duplex);
! temp[i] = str_rep(temp[i], buf);
}
}
--- 182,186 -----
param->d_baud, param->d_parity, param->d_dbits,
param->d_sbits, *param->d_duplex);
! temp[i] = str_dup(buf);
}
}
More information about the Unix-pc.sources
mailing list