Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 13:30:02 -0800 (PST)
From:      Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/46015: [Patch] Fix non standard C code
Message-ID:  <200212052130.gB5LU2Ls036671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/46015; it has been noted by GNATS.

From: Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
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(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?200212052130.gB5LU2Ls036671>