Path: utzoo!utgpu!cs.utexas.edu!samsung!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!prls!pyramid!nsc!taux01!amos From: amos@taux01.nsc.com (Amos Shapir) Newsgroups: alt.sources.d Subject: Re: bpe - binary patch editor Message-ID: <4902@taux01.nsc.com> Date: 29 Oct 90 14:59:47 GMT References: <2188@sixhub.UUCP> Distribution: alt Organization: National Semiconductor (IC) Ltd, Israel, Home of the Series 32000 Lines: 12 X-Hdate: 10 Heshvan 5751 The 'h' command doesn't work as distributed. To fix, precede each call to 'toupper' in hexsrch.c by an appropriate 'if(islower(a))' test. (I wonder why people bother to post programs they never checked themselves even once - there's no way this could have worked on any UNIX version I know) Also, if you have a BSD-ish system, you'd have to change 'strchr' to 'index', and write your own 'memcmp' (maybe 'strcmp' would work too). -- Amos Shapir amos@taux01.nsc.com, amos@nsc.nsc.com National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel Tel. +972 52 522255 TWX: 33691, fax: +972-52-558322 GEO: 34 48 E / 32 10 N