Article 182 of comp.sources.bugs: Path: um-math!hyc From: hyc@math.lsa.umich.edu (Howard Chu) Newsgroups: comp.sources.bugs,comp.sources.d Subject: ARC 5.21 patch #1 - Ooops Message-ID: <387@clio.math.lsa.umich.edu> Date: 31 Jul 88 23:53:33 GMT Sender: usenet@math.lsa.umich.edu Reply-To: hyc@math.lsa.umich.edu (Howard Chu) Organization: University of Michigan Math Dept., Ann Arbor Lines: 52 Xref: um-math comp.sources.bugs:182 comp.sources.d:452 UUCP-Path: {mailrus,umix}!um-math!hyc Damn. Fixed this in arc.c, but not in marc.c. After applying the patches found in the previous posting, apply this to marc.c. Sorry for the mixup... -- Howard *** /tmp/,RCSt1a25202 Sun Jul 31 19:51:00 1988 --- marc.c Sun Jul 31 19:50:05 1988 *************** *** 1,5 **** /* ! * $Header: marc.c,v 1.3 88/07/31 19:32:03 hyc Exp $ */ /* MARC - Archive merge utility --- 1,5 ---- /* ! * $Header: marc.c,v 1.4 88/07/31 19:49:35 hyc Exp $ */ /* MARC - Archive merge utility *************** *** 104,115 **** if (arctemp[n - 1] != CUTOFF) arctemp[n] = CUTOFF; } #if !MSDOS { static char tempname[] = "AXXXXXX"; - #if UNIX - strcpy(arctemp, "/tmp/"); - #endif /*UNIX*/ strcat(arctemp, mktemp(tempname)); } #else --- 104,115 ---- if (arctemp[n - 1] != CUTOFF) arctemp[n] = CUTOFF; } + #if UNIX + else strcpy(arctemp, "/tmp/"; + #endif #if !MSDOS { static char tempname[] = "AXXXXXX"; strcat(arctemp, mktemp(tempname)); } #else -- / /_ , ,_. Howard Chu / /(_/(__ University of Michigan / Computing Center College of LS&A ' Unix Project Information Systems