From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27709 invoked from network); 17 May 1999 15:34:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 May 1999 15:34:07 -0000 Received: from buster.bfr.co.il (root@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA00987 for ; Mon, 17 May 1999 10:56:05 -0400 Received: from vermis.bfr.co.il (vermis.bfr.co.il [128.253.154.43]) by buster.bfr.co.il (8.8.5/8.8.5) with ESMTP id RAA05766 for ; Mon, 17 May 1999 17:56:01 +0300 Received: (from abel@localhost) by vermis.bfr.co.il (8.9.3/8.8.5) id RAA17499; Mon, 17 May 1999 17:56:01 +0300 Sender: abel@bfr.co.il To: axp-list@redhat.com Subject: Re: Strange behavior References: <199905142326.TAA25572@adder.cs.Virginia.EDU> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: abel@bfr.co.il (Alexander L. Belikoff) Date: 17 May 1999 17:56:01 +0300 In-Reply-To: Greg Lindahl's message of "Fri, 14 May 1999 19:26:13 -0400 (EDT)" Message-ID: X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald" Greg Lindahl writes: > > > [nupgup@jbslab1 nupgup]$ /bin/xquake-1.06-alpha-bin > > > bash: /bin/xquake-1.06-alpha-bin: No such file or directory > > > > The program loader isn't present. In this case /lib/ld-linux.so.1. > > Which came with glibc 1.99, which was distributed with RH 4.2. > > While we're at it, could we PLEEEEEEASE fix bash to print a more > useful error message? Yes, I realize exec() came back with ENOFILE, > but it's worth checking access() and printing a useful message. First of all, you'd have to fix all shells, not just bash. Then, I think this solution is more like a hack. A proper solution would be to add another errno value like ENOLOADER and make exec*(2) spit it in case of such problems. However, I am not sure, whether POSIX actually permits adding new error codes to the "standard" system calls... -- Alexander L. Belikoff Bloomberg L.P. / BFM Financial Research Ltd. abel@vallinor4.com, abel@bfr.co.il