mkmessage return values (was: Re: db4glgen problems)
Posted in 1991
>> From uunet!rmy.emory.edu!informix-list-owner Thu Oct 3 15:33:31 1991 >> From: Tony Heskett <uunet!lhr-sys.ssf-sys.DHL.COM!theskett> >> Subject: Re db4glgen problems >> To: informix-list@rmy.emory.EDU >> >> > So I changed test.per to test in the makefile. This worked, as did >> > mkmessage. >> > >> > form4gl -s test >> > mkmessage test.hlp test.msg >> >> Every time I mkmessage, with perfectly good files and a perfectly >> acceptable result, I get non-zero exit status (this isn't a db4glgen >> complaint, it's an Informix complaint, you understand). make(1) objects >> to this. >> >> A leading hyphen in the line (as in "- mkmessage ...") tells make >> to ignore the exit status, but can someone tell me why I get that ? >> (S'only a trivia question, of course). Using -V gives me: >> >> Usage: mkmessage input_file output_file >> >> but it shipped with INFORMIX-SQL Version 2.10.03B. mkmessage just wasn't returning zero on success in .03, apparently. It does in 4.0 and 4.1. I can only verify in the DOS .06e version (that's the only X.10.0XX source I can get at easily), and it's missing a return/exit 0 there, so it's probably the same in .03. Also, in 4.0+, it displays the full version-stamp on a -v check. >> Tony Heskett: theskett@lhr-sys.ssf-sys.dhl.com | Vox: (+44) 81 747 8330 -- Alan Denney # aland@informix.com # {pyramid|uunet}!infmx!aland "Hearts full of youth, hearts full of truth. Six parts gin to one part vermouth." - T. L.