Return to BSD News archive
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!tuegate.tue.nl!svin09.info.win.tue.nl!wzv.win.tue.nl!gvr.win.tue.nl!guido From: guido@gvr.win.tue.nl (Guido van Rooij) Newsgroups: comp.os.386bsd.bugs Subject: Re: /bin/expr totally broken Message-ID: <1mtuk3$rrd@wzv.win.tue.nl> Date: 1 Mar 93 21:18:59 GMT References: <CONKLIN.93Feb26113140@talisman.kaleida.com> Organization: Eindhoven University of Technology, The Netherlands Lines: 29 NNTP-Posting-Host: gvr.win.tue.nl I liked your patch! Though there is a tiny error: The well known 'typo'. Here is the patch: -Guido *** expr.y.orig Mon Mar 1 22:14:04 1993 --- expr.y Mon Mar 1 22:10:42 1993 *************** *** 217,223 **** is_zero_or_null (vp) struct val *vp; { ! if (vp->type = integer) { if (vp->u.i == 0) return (1); } else { --- 217,223 ---- is_zero_or_null (vp) struct val *vp; { ! if (vp->type == integer) { if (vp->u.i == 0) return (1); } else { -- Guido van Rooij | Internet: guido@gvr.win.tue.nl Bisschopsmolen 16 | Phone: ++31.40.461433 5612 DS Eindhoven | ((12+144+20)+3*sqrt(4))/7 The Netherlands | +(5*11)=9^2+0