From: rahnds Date: Wed, 5 Feb 1997 16:31:23 +0000 (+0000) Subject: make crunchide work in the non-elf world, Opps. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8be68d8a27c6509d5e9b20a4b8d3acfbdf1bb778;p=openbsd make crunchide work in the non-elf world, Opps. --- diff --git a/distrib/crunch/crunchide/crunchide.c b/distrib/crunch/crunchide/crunchide.c index 6f3fc817faa..341682ea92c 100644 --- a/distrib/crunch/crunchide/crunchide.c +++ b/distrib/crunch/crunchide/crunchide.c @@ -244,6 +244,8 @@ void hide_syms(char *filename) return; } + lseek(inf, 0, SEEK_SET); + if (buf[0] == 0x7f && (buf[1] == 'E' || buf[1] == 'O') && buf[2] == 'L' &&