Use lgetenv() for "LESS" and "MORE" variables.
This commit is contained in:
parent
26c8a9b676
commit
fe0d28b4c5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: main.c,v 1.6 1997/09/21 12:41:01 mrg Exp $ */
|
||||
/* $NetBSD: main.c,v 1.7 1999/01/22 12:31:22 simonb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984,1985,1989,1994,1995,1996 Mark Nudelman
|
||||
@ -112,9 +112,9 @@ main(argc, argv)
|
||||
scan_option("-m");
|
||||
scan_option("-G");
|
||||
scan_option("-f");
|
||||
scan_option(getenv("MORE"));
|
||||
scan_option(lgetenv("MORE"));
|
||||
} else
|
||||
scan_option(getenv("LESS"));
|
||||
scan_option(lgetenv("LESS"));
|
||||
|
||||
#if GNU_OPTIONS
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user