In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em. Restore old behavior in respect with POLA. Submitted by: ru (on -current@)
This commit is contained in:
parent
896534feb3
commit
4e2d304caa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170812
@ -135,6 +135,9 @@ main(argc, argv)
|
||||
|
||||
init_prompt();
|
||||
|
||||
if (less_is_more)
|
||||
scan_option("-fG");
|
||||
|
||||
s = lgetenv(less_is_more ? "MORE" : "LESS");
|
||||
if (s != NULL)
|
||||
scan_option(save(s));
|
||||
|
Loading…
Reference in New Issue
Block a user