patch-command.c - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
patch-command.c
---
1 $NetBSD$
2
3 Avoid warning to warn that the file was viewed via LESSOPEN.
4
5 --- command.c.orig 2019-06-11 18:12:01.000000000 +0000
6 +++ command.c
7 @@ -1647,11 +1647,6 @@ commands(VOID_PARAM)
8 error("Cannot edit standard input", NULL_PARG);
9 break;
10 }
11 - if (get_altfilename(curr_ifile) != NULL)
12 - {
13 - error("WARNING: This file was viewed via LESSOPEN",
14 - NULL_PARG);
15 - }
16 start_mca(A_SHELL, "!", ml_shell, 0);
17 /*
18 * Expand the editor prototype string