Date: Sun, 16 Aug 1998 12:52:38 +0300 (IDT) From: Eli Zaretskii To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: DJMERGE and the missing .000 file Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Somebody complained that if there's no .000 file, djmerge doesn't behave itself, and suggested to document it at the least. Here's a patch that should fix this, I think. *** src/utils/djmerge.c~0 Sun Nov 2 15:21:28 1997 --- src/utils/djmerge.c Fri Aug 14 11:52:26 1998 *************** main(int argc, char **argv) *** 43,48 **** --- 43,54 ---- partnum = 0; f = p_open(argv[1], partnum); + if (f < 0) + { + fprintf(stderr,"FATAL: Cannot open %s.000", argv[1]); + perror(""); + exit(1); + } while (1) { r = read(f, buf, BUFS);