make crunchide work in the non-elf world, Opps.
authorrahnds <rahnds@openbsd.org>
Wed, 5 Feb 1997 16:31:23 +0000 (16:31 +0000)
committerrahnds <rahnds@openbsd.org>
Wed, 5 Feb 1997 16:31:23 +0000 (16:31 +0000)
distrib/crunch/crunchide/crunchide.c

index 6f3fc81..341682e 100644 (file)
@@ -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' &&