Subject: Re: CVS commit: src/bin/sh
To: Roland Illig <rillig@netbsd.org>
From: Jachym Holecek <freza@dspfpga.com>
List: source-changes
Date: 02/15/2007 15:53:16
# Roland Illig 2007-02-15:
> Module Name:	src
> Committed By:	rillig
> Date:		Thu Feb 15 12:02:59 UTC 2007
> 
> Modified Files:
> 	src/bin/sh: input.c
> 
> Log Message:
> Since interpreting ELF binaries as shell scripts is not very useful, and
> since the current error message is less than helpful, improve it.

Any reason to hardcode ELF magic instead of using ELFMAG from <elf.h>?

(I hope including <elf.h> in sh sources will feel wrong enough. Surely
there must be a better way to deal with syntax errors than to start
recognizing other random formats.)

	-- Jachym