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/msgs pullup 1.14->1.15 (kleink)



details:   https://anonhg.NetBSD.org/src/rev/69ab4724347c
branches:  netbsd-1-4
changeset: 468918:69ab4724347c
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Jun 23 14:27:03 1999 +0000

description:
pullup 1.14->1.15 (kleink)

diffstat:

 usr.bin/msgs/msgs.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 57b0306922e7 -r 69ab4724347c usr.bin/msgs/msgs.c
--- a/usr.bin/msgs/msgs.c       Wed Jun 23 14:23:39 1999 +0000
+++ b/usr.bin/msgs/msgs.c       Wed Jun 23 14:27:03 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msgs.c,v 1.13 1998/12/19 20:08:03 christos Exp $       */
+/*     $NetBSD: msgs.c,v 1.13.2.1 1999/06/23 14:27:03 perry Exp $      */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)msgs.c     8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: msgs.c,v 1.13 1998/12/19 20:08:03 christos Exp $");
+__RCSID("$NetBSD: msgs.c,v 1.13.2.1 1999/06/23 14:27:03 perry Exp $");
 #endif
 #endif /* not lint */
 
@@ -631,7 +631,8 @@
        if (use_pager && length > Lpp) {
                signal(SIGPIPE, SIG_IGN);
                signal(SIGQUIT, SIG_IGN);
-                if ((env_pager = getenv("PAGER")) == NULL) {
+                if ((env_pager = getenv("PAGER")) == NULL ||
+                   env_pager[0] == '\0') {
                         sprintf(cmdbuf, _PATH_PAGER, Lpp);
                 } else {
                         strcpy(cmdbuf, env_pager);



Home | Main Index | Thread Index | Old Index