comparison src/unexnext.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 376386a54a3c
children ab71ad6ff3dd
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
277 mcopy(-1,outfd,(unsigned long) &mh,0,sizeof(mh)); 277 mcopy(-1,outfd,(unsigned long) &mh,0,sizeof(mh));
278 } 278 }
279 279
280 void unexec(char *outfile,char *infile) 280 void unexec(char *outfile,char *infile)
281 { 281 {
282 char tmpfile[MAXPATHLEN]; 282 char tmpfile[PATH_MAX];
283 int infd,outfd; 283 int infd,outfd;
284 284
285 if ((infd=open(infile, O_RDONLY, 0))<0) 285 if ((infd=open(infile, O_RDONLY, 0))<0)
286 fatal_unexec("cannot open input file `%s'", infile); 286 fatal_unexec("cannot open input file `%s'", infile);
287 287