summaryrefslogtreecommitdiff
path: root/exec/main.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-12-26 01:02:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-12-26 01:02:10 +0100
commit0f35a278a4723f38e7c7a80678fcd59e40451142 (patch)
treebdddd3a1fac70c75a1e79ef5ae9510e097be3d87 /exec/main.c
parent908ba8441182f34a7b565a692ebb60e8af321d17 (diff)
Fix exec shell check for really small files
* exec/hashexec.c (check_hashbang): Set `e->error' to 0 before calling map(). On error, check `e->error' instead of `errno', and default `e->error' to ENOEXEC.
Diffstat (limited to 'exec/main.c')
0 files changed, 0 insertions, 0 deletions