Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!sirius.ucs.adelaide.edu.au!chook.ua.oz!cagney From: cagney@chook.ua.oz (Andrew Cagney - aka Noid) Newsgroups: comp.os.minix Subject: lorder always `fails' :-) Message-ID: <938@sirius.ucs.adelaide.edu.au> Date: 9 May 90 14:48:05 GMT Sender: news@ucs.adelaide.edu.au Reply-To: cagney@chook.ua.oz (Andrew Cagney - aka Noid) Organization: Comp Sci, Uni of Adelaide, Australia Lines: 23 I've beeing writing a `consistent' set of make files for the src/lib directory (seeing as lorder and tsort `work'). Any way I found that lorder does not exit with status 0 upon success. The patch below fixes it. (Or should that be a return :-) I'll post the make files (both of them) shortly, once tested. Andrew Cagney ----------------------------------------------------------------------- *** /users/projects/leopard/minix-src/kit/minix/1.5.10/src/commands/ibm/lorder.c Mon May 7 17:25:54 1990 --- lorder.c Wed May 9 23:58:48 1990 *************** *** 97,102 **** --- 97,103 ---- fprintf(stderr, "Usage: %s file ....\n", progname); exit(1); } + exit(0); } void user_abort()