artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7610d0c
)
make crunchide work in the non-elf world, Opps.
author
rahnds
<rahnds@openbsd.org>
Wed, 5 Feb 1997 16:31:23 +0000
(16:31 +0000)
committer
rahnds
<rahnds@openbsd.org>
Wed, 5 Feb 1997 16:31:23 +0000
(16:31 +0000)
distrib/crunch/crunchide/crunchide.c
patch
|
blob
|
history
diff --git
a/distrib/crunch/crunchide/crunchide.c
b/distrib/crunch/crunchide/crunchide.c
index
6f3fc81
..
341682e
100644
(file)
--- 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' &&