[comp.sources.d] ARC 5.21 patch #1 - Ooops

hyc@math.lsa.umich.edu (Howard Chu) (08/01/88)

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