* Re: zsh script can't find zsh binary?
[not found] <199506272350.JAA07735@werple03.mira.net.au>
@ 1995-06-28 10:30 ` P.Stephenson
0 siblings, 0 replies; only message in thread
From: P.Stephenson @ 1995-06-28 10:30 UTC (permalink / raw)
To: Zsh hackers list
mason@werple.mira.net.au wrote:
> This isn't the problem here. The limit is 64 characters, and the
> message for exceeding this is: "exec format error". (It has nothing
> to do with the kernel ) Another possibility could be that the
> program's not in his path, and he should do ./cf.zsh
I believe the limit is sizeof(struct exec) which depends on
sizeof(long): it's usually 8 longs which is 64 bytes on the Alpha but
32 bytes on suns.
The error message is indeed indistinguishable from the one you get if
the file itself doesn't exist. I was complaining about this a couple
of months ago. It would be much more consistent for it to return
"exec format error" --- then zsh would start the interpreter itself
and all would be sweetness and light (the code's already there) ---
but in fact it doesn't.
--
Peter Stephenson <P.Stephenson@swansea.ac.uk> Tel: +44 1792 205678 extn. 4461
WWW: http://python.swan.ac.uk/~pypeters/ Fax: +44 1792 295324
Department of Physics, University of Wales, Swansea,
Singleton Park, Swansea, SA2 8PP, U.K.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-06-28 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <199506272350.JAA07735@werple03.mira.net.au>
1995-06-28 10:30 ` zsh script can't find zsh binary? P.Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).