Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 22:27:01 +0100
From:      Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
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>
In-Reply-To: <200212052030.gB5KU1bn019954@freefall.freebsd.org>
References:  <20021205203034.C912BB1@213-84-207-11.adsl.xs4all.nl> <200212052030.gB5KU1bn019954@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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(at)wxs.nl> / 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021205212701.GA62915>