Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Script interpreter path length limit (POUNDBANGLIMIT)
- X-seq: zsh-workers 39016
- From: Dennis Sperlich <dsperlich@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Script interpreter path length limit (POUNDBANGLIMIT)
- Date: Wed, 10 Aug 2016 20:41:12 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:openpgp:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=ucqaSUo2QB8QFZ9MNAgMPPi7Ol3BQpEKF4gEDdyao+g=; b=avj0hmZMHmvcF7qFOR8XNLcYs4fDTSpnCZRkl8DHuoZwDeqcMeEKFE2h2URwNTD1bw VsYXbgPygwkpnKR3fGLiCceg73VekTmaxPvUnsxSwMXEduwdKBGjXLf9mWevcMfj5FbN o6cNxXaaY+NPKn1zYdp7FsszMf4a26mkxvSpJ+Td1+keW9TnIOfgsrXumEQGQM2pw17k IIYa+ZsVB5oulAmMMcZrbdsdHtwo422wWYkPkjF0+XtyJXjPTCRnl1rWBbmp6PNcVDJY Py+FfLHbS9ZzTCdlpjIFhzyPCPw/465KyDeBJn+8R7lSFbiTaSJgNNTytw0aaajbE9gX spNA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Openpgp: id=176AF3931520CC606CEAC2E33109D60EA3566DC9
Hi,
i noticed an strange effect when calling a (python) script where the
interpreter is specified in the first line as follows:
#!/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.4-x86_64-slc6-gcc48/sw/lcg/external/Python/2.7.4/x86_64-slc6-gcc48-opt/bin/python
When i call this script from within zsh i get the following error:
zsh: $HOME/.local/bin/pip: bad interpreter:
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7: no such
file or directory
It seems like there is a arbitrary 63 character limit on the interpreter
char buffer. At least this is what i understand from the code in
Src/exec.c starting line 431.
So i'm wondering whether this is intentional and i'm not supposed to
point to interpreters with longer paths or just there due to historic
reasons? (i briefly checked, bash seems to have a limit of 79 characters
:-) )
Cheers
Dennis
Messages sorted by:
Reverse Date,
Date,
Thread,
Author