nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c8dc67717ba530b29d42ff79c2ff0feecca54581
parent 4df2f8129537081bd83f816e006b8ee8b98e7cc7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue,  1 Oct 2019 14:57:42 +0200

tweaks: mark as 'const' a parameter that takes fixed strings  [coverity]

Diffstat:
Msrc/rcfile.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rcfile.c b/src/rcfile.c @@ -1300,7 +1300,7 @@ void parse_one_nanorc(void) jot_error(N_("Error reading %s: %s"), nanorc, strerror(errno)); } -bool have_nanorc(const char *path, char *name) +bool have_nanorc(const char *path, const char *name) { if (path == NULL) return FALSE;