summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-05 16:31:24 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-05 16:31:24 +0000
commit0a4ecdee59f5e4b4d7b6903a676f868188fbc414 (patch)
tree67c57537945f2ef369d9386bf4be902f8348aac3
parent6e877d02cebd8fc3b58cc51308a45867941fac94 (diff)
make crunchide work in the non-elf world, Opps.
-rw-r--r--distrib/crunch/crunchide/crunchide.c2
1 files changed, 2 insertions, 0 deletions
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' &&