Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/bin/sh



# 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



Home | Main Index | Thread Index | Old Index