Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/sed pullup 1.24->1.25 (Kimmo Suominen)



details:   https://anonhg.NetBSD.org/src/rev/53174f17d1e0
branches:  netbsd-1-4
changeset: 469069:53174f17d1e0
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Jun 25 20:54:31 1999 +0000

description:
pullup 1.24->1.25 (Kimmo Suominen)

diffstat:

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

diffs (27 lines):

diff -r a259293f6edc -r 53174f17d1e0 usr.bin/sed/process.c
--- a/usr.bin/sed/process.c     Fri Jun 25 20:52:37 1999 +0000
+++ b/usr.bin/sed/process.c     Fri Jun 25 20:54:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process.c,v 1.24 1998/12/19 22:12:32 christos Exp $    */
+/*     $NetBSD: process.c,v 1.24.2.1 1999/06/25 20:54:31 perry Exp $   */
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)process.c  8.6 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: process.c,v 1.24 1998/12/19 22:12:32 christos Exp $");
+__RCSID("$NetBSD: process.c,v 1.24.2.1 1999/06/25 20:54:31 perry Exp $");
 #endif
 #endif /* not lint */
 
@@ -151,6 +151,8 @@
                                cspace(&PS, hs, hsl, REPLACE);
                                break;
                        case 'G':
+                               if (hs == NULL)
+                                       cspace(&HS, "\n", 1, REPLACE);
                                cspace(&PS, hs, hsl, 0);
                                break;
                        case 'h':



Home | Main Index | Thread Index | Old Index