Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cadre.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!rochester!cmu-cs-pt!cadre!km From: km@cadre.ARPA (Ken Mitchum) Newsgroups: net.micro.pc,net.micro Subject: bug in make for msdos Message-ID: <504@cadre.ARPA> Date: Tue, 27-Aug-85 15:16:37 EDT Article-I.D.: cadre.504 Posted: Tue Aug 27 15:16:37 1985 Date-Received: Thu, 29-Aug-85 23:47:09 EDT Distribution: net Organization: Decision Systems Lab., University of Pittsburgh Lines: 36 Xref: linus net.micro.pc:4852 net.micro:10458 The version of "make" for msdos which is part of the jove sources contains a bug. As a result, the program as distributed only works correctly under DOS 3.0 and up. Earlier versions of DOS will fail with a message like: Make: Can't Make 'fubar'. even though 'fubar' exists in the current directory. The problem is an incorrect error return in the function find_first(), in the file makeutil.c. Replace the following lines: srv.dx = name; sysint21(&srv,&srv); return(!(srv.ax & 0xff00)); } with: srv.dx = name; return(sysint21(&srv,&srv) & 1); } The result will work with both versions of DOS. Sorry for any inconvenience caused by the above. Unfortunately, the contents of ax are slightly different in the two DOS versions. -Ken Mitchum University of Pittsburgh Decision Systems Laboratories (km@cadre.arpa)