From owner-freebsd-bugs Thu Dec 5 13:26: 4 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 972F437B401; Thu, 5 Dec 2002 13:26:03 -0800 (PST) Received: from 213-84-207-11.adsl.xs4all.nl (nexus.xs4all.nl [213.84.207.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 010C143EC2; Thu, 5 Dec 2002 13:26:03 -0800 (PST) (envelope-from asmodai@nexus.ninth-circle.org) Received: by 213-84-207-11.adsl.xs4all.nl (Postfix, from userid 1000) id 4B654B1; Thu, 5 Dec 2002 22:27:01 +0100 (CET) Date: Thu, 5 Dec 2002 22:27:01 +0100 From: Jeroen Ruigrok/asmodai To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/46015: [Patch] Fix non standard C code Message-ID: <20021205212701.GA62915@nexus.ninth-circle.org> References: <20021205203034.C912BB1@213-84-207-11.adsl.xs4all.nl> <200212052030.gB5KU1bn019954@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <200212052030.gB5KU1bn019954@freefall.freebsd.org> Organisation: Ninth Circle Enterprises User-Agent: Mutt/1.5.1i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Of course, I botched the patch, here's the right one: -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono Ninth Circle Enterprises | WTO + WIPO = DMCA? http://www.tendra.org/ | http://www.anti-dmca.org/ To meet, to know, to love - and then to part, is the sad tale of many a heart... --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sh-echo.diff" Index: src/bin/sh/bltin/echo.c =================================================================== RCS file: /home/ncvs/FreeBSD/src/bin/sh/bltin/echo.c,v retrieving revision 1.11 diff -u -r1.11 echo.c --- src/bin/sh/bltin/echo.c 2 Feb 2002 06:50:55 -0000 1.11 +++ src/bin/sh/bltin/echo.c 5 Dec 2002 21:20:56 -0000 @@ -80,7 +80,7 @@ case 'a': c = '\a'; break; case 'b': c = '\b'; break; case 'c': return 0; /* exit */ - case 'e': c = '\e'; break; + case 'e': c = '\033'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; --ZGiS0Q5IWpPtfppv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message