Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/sed Restore G command



details:   https://anonhg.NetBSD.org/src/rev/bf478e891e82
branches:  trunk
changeset: 329755:bf478e891e82
user:      ryoon <ryoon%NetBSD.org@localhost>
date:      Sat Jun 07 06:02:27 2014 +0000

description:
Restore G command

diffstat:

 usr.bin/sed/process.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4e4969685b0b -r bf478e891e82 usr.bin/sed/process.c
--- a/usr.bin/sed/process.c     Fri Jun 06 22:15:32 2014 +0000
+++ b/usr.bin/sed/process.c     Sat Jun 07 06:02:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process.c,v 1.41 2014/06/06 12:46:54 joerg Exp $       */
+/*     $NetBSD: process.c,v 1.42 2014/06/07 06:02:27 ryoon Exp $       */
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: process.c,v 1.41 2014/06/06 12:46:54 joerg Exp $");
+__RCSID("$NetBSD: process.c,v 1.42 2014/06/07 06:02:27 ryoon Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/process.c 192732 2009-05-25 06:45:33Z brian $");
 #endif
@@ -155,7 +155,7 @@
                                break;
                        case 'G':
                                if (hs == NULL)
-                                       cspace(&PS, "\n", 1, REPLACE);
+                                       cspace(&HS, "\n", 1, REPLACE);
                                cspace(&PS, hs, hsl, APPEND);
                                break;
                        case 'h':



Home | Main Index | Thread Index | Old Index