From owner-freebsd-bugs Thu Dec 5 13:30: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5682837B401 for ; Thu, 5 Dec 2002 13:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C3DC43EA9 for ; Thu, 5 Dec 2002 13:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB5LU2x3036672 for ; Thu, 5 Dec 2002 13:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB5LU2Ls036671; Thu, 5 Dec 2002 13:30:02 -0800 (PST) Date: Thu, 5 Dec 2002 13:30:02 -0800 (PST) Message-Id: <200212052130.gB5LU2Ls036671@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jeroen Ruigrok/asmodai Subject: Re: bin/46015: [Patch] Fix non standard C code Reply-To: Jeroen Ruigrok/asmodai 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 The following reply was made to PR bin/46015; it has been noted by GNATS. From: Jeroen Ruigrok/asmodai To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: bin/46015: [Patch] Fix non standard C code Date: Thu, 5 Dec 2002 22:27:01 +0100 --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