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
darrylo@hpsrli.HP.COM (Darryl Okahata) (08/08/88)
Has anyone got a patch to make Howard Chu's version of Arc (the one that was recently posted) work with "crunched" files (note: that is "crunched" with a small "c", not a capital "C")? It doesn't work with ancient "crunched" files (it goes into an infinite loop). -- Darryl Okahata {hplabs!hpccc!, hpfcla!} hpsrla!darrylo CompuServe: 75206,3074 P.S. -- Kudos to Howard Chu for making the port. This version works better that all other versions that I've seen. Disclaimer: the above is the author's personal opinion and is not the opinion or policy of his employer or of the little green men that have been following him all day.