egray@fthood.UUCP (02/03/89)
Aaaaaaaaagghh! I hate it when I post a bug "fix" that has a bug in it! (and such an obvious one at that!) This is patch #8 to Pcomm v1.1, grrrrr... 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 ---------------------------------------------------------------------------- *** old2/xmodem.c Thu Feb 2 10:06:31 1989 --- xmodem.c Thu Feb 2 10:05:47 1989 *************** *** 246,249 register int num; char tempfile[128], *mktemp(), buf[BUFSIZ], *s, *strrchr(); struct stat stbuf; --- 246,250 ----- register int num; char tempfile[128], *mktemp(), buf[BUFSIZ], *s, *strrchr(); + char *strcat(); struct stat stbuf; *************** *** 264,268 */ strcpy(tempfile, file); ! if (s = strrchr(tempfile)) *++s = '\0'; else --- 265,269 ----- */ strcpy(tempfile, file); ! if (s = strrchr(tempfile, '/')) *++s = '\0'; else