*** SePort.c~ Mon Mar 1 03:30:29 1993 --- SePort.c Mon Mar 1 17:58:59 1993 *************** *** 904,910 **** modemname = strrchr(modem_port, '/'); sprintf(lckf, "%s/%s%s", LF_PATH, LF_PREFIX, (modemname ? (modemname + 1) : modem_port)); - sprintf(ltmp, "%s/%s%d", LF_PATH, "LTMP.", pid); #else if(stat(modem_port, &mbuf) < 0) { se_perrorf("could not stat modem port %s", modem_port, "", ""); --- 904,909 ---- *************** *** 914,919 **** --- 913,919 ---- major(mbuf.st_rdev), minor(mbuf.st_rdev)); #endif /* LF_USE_DEV_NUMBERS */ + sprintf(ltmp, "%s/%s%d", LF_PATH, "LTMP.", pid); /* Create the LTMP. file and scribble our PID in it */ unlink(ltmp); if ((lfd = creat(ltmp, 0644)) == -1) {