home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / archivers / arcppc / src / patch1b < prev    next >
Text File  |  1998-04-23  |  2KB  |  69 lines

  1. Article 182 of comp.sources.bugs:
  2. Path: um-math!hyc
  3. From: hyc@math.lsa.umich.edu (Howard Chu)
  4. Newsgroups: comp.sources.bugs,comp.sources.d
  5. Subject: ARC 5.21 patch #1 - Ooops
  6. Message-ID: <387@clio.math.lsa.umich.edu>
  7. Date: 31 Jul 88 23:53:33 GMT
  8. Sender: usenet@math.lsa.umich.edu
  9. Reply-To: hyc@math.lsa.umich.edu (Howard Chu)
  10. Organization: University of Michigan Math Dept., Ann Arbor
  11. Lines: 52
  12. Xref: um-math comp.sources.bugs:182 comp.sources.d:452
  13. UUCP-Path: {mailrus,umix}!um-math!hyc
  14.  
  15. Damn. Fixed this in arc.c, but not in marc.c. After applying the patches
  16. found in the previous posting, apply this to marc.c. Sorry for the mixup...
  17.   -- Howard
  18.  
  19. *** /tmp/,RCSt1a25202    Sun Jul 31 19:51:00 1988
  20. --- marc.c    Sun Jul 31 19:50:05 1988
  21. ***************
  22. *** 1,5 ****
  23.   /*
  24. !  * $Header: marc.c,v 1.3 88/07/31 19:32:03 hyc Exp $
  25.    */
  26.   
  27.   /*  MARC - Archive merge utility
  28. --- 1,5 ----
  29.   /*
  30. !  * $Header: marc.c,v 1.4 88/07/31 19:49:35 hyc Exp $
  31.    */
  32.   
  33.   /*  MARC - Archive merge utility
  34. ***************
  35. *** 104,115 ****
  36.           if (arctemp[n - 1] != CUTOFF)
  37.               arctemp[n] = CUTOFF;
  38.       }
  39.   #if    !MSDOS
  40.       {
  41.           static char tempname[] = "AXXXXXX";
  42. - #if     UNIX
  43. -         strcpy(arctemp, "/tmp/");
  44. - #endif  /*UNIX*/
  45.           strcat(arctemp, mktemp(tempname));
  46.       }
  47.   #else
  48. --- 104,115 ----
  49.           if (arctemp[n - 1] != CUTOFF)
  50.               arctemp[n] = CUTOFF;
  51.       }
  52. + #if    UNIX
  53. +     else    strcpy(arctemp, "/tmp/";
  54. + #endif
  55.   #if    !MSDOS
  56.       {
  57.           static char tempname[] = "AXXXXXX";
  58.           strcat(arctemp, mktemp(tempname));
  59.       }
  60.   #else
  61. --
  62.   /
  63.  /_ , ,_.                      Howard Chu
  64. / /(_/(__                University of Michigan
  65.     /           Computing Center          College of LS&A
  66.    '              Unix Project          Information Systems
  67.  
  68.  
  69.