NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/37212: Please backport 'cvs diff -r 1.7 -r 1.8 dist/nawk/lex.c' to netbsd-4 branch
The following reply was made to PR bin/37212; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/37212: Please backport 'cvs diff -r 1.7 -r 1.8
dist/nawk/lex.c' to netbsd-4 branch
Date: Sun, 06 Jan 2008 12:43:41 +0200
> | Unfortunately I am the only person who needed a fixed awk in NetBSD-4 :-(
> | So, you can close this PR or commit this change for 4.X(?).
>
> Does the patch apply cleanly?
Sure. Only one line is changed.
Index: dist/nawk/lex.c
===================================================================
RCS file: /pub/NetBSD-CVS/src/dist/nawk/lex.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dist/nawk/lex.c 2 Jul 2005 20:10:34 -0000 1.7
+++ dist/nawk/lex.c 25 Oct 2007 14:40:33 -0000 1.8
@@ -392,6 +392,7 @@
case '\\':
c = input();
switch (c) {
+ case '\n': break;
case '"': *bp++ = '"'; break;
case 'n': *bp++ = '\n'; break;
case 't': *bp++ = '\t'; break;
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index