Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: abel@bfr.co.il (Alexander L. Belikoff)
To: axp-list@redhat.com
Subject: Re: Strange behavior
Date: 17 May 1999 17:56:01 +0300	[thread overview]
Message-ID: <m3675rsq2m.fsf@vermis.bfr.co.il> (raw)
In-Reply-To: Greg Lindahl's message of "Fri, 14 May 1999 19:26:13 -0400 (EDT)"

Greg Lindahl <lindahl@cs.virginia.edu> 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


      reply	other threads:[~1999-05-17 15:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-13 17:54 Linux on AlphaServer 400 4/33 James Livingston
1999-05-13 19:53 ` Strange behavior Peter Howell Jr
1999-05-13 20:39   ` WTB: ZLXp-E2 aka PMAGD-BA graphics card Thomas Leitner
1999-05-13 21:58   ` Strange behavior Wes Bauske
1999-05-14  6:01   ` Stephen Williams
1999-05-14 22:46   ` Richard Henderson
1999-05-14 23:26     ` Greg Lindahl
1999-05-17 14:56       ` Alexander L. Belikoff [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox