nano

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

commit d15c92d41ad4db8d03eb7b15cbe8ca9a4bd142ea
parent 8dec78333362750831118d97c2a51dcb0189f149
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 17 Nov 2005 18:58:56 +0000

more comment fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3200 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/chars.c | 2+-
Msrc/files.c | 11++++++-----
Msrc/utils.c | 8++++----
3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/chars.c b/src/chars.c @@ -553,7 +553,7 @@ int mbstrncasecmp(const char *s1, const char *s2, size_t n) } #ifndef HAVE_STRCASESTR -/* This function (nstrcasestr(), originally mutt_stristr()) was adapted +/* This function, nstrcasestr() (originally mutt_stristr()), was adapted * from mutt 1.2.4i (lib.c). Here is the notice from that file: * * Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu> diff --git a/src/files.c b/src/files.c @@ -1945,9 +1945,10 @@ int is_dir(const char *buf) return ret; } -/* These functions (username_tab_completion(), cwd_tab_completion(), and - * input_tab()) were adapted from busybox 0.46 (cmdedit.c). Here is the - * notice from that file: +/* These functions, username_tab_completion(), cwd_tab_completion() + * (originally exe_n_cwd_tab_completion()), and input_tab(), were + * adapted from busybox 0.46 (cmdedit.c). Here is the notice from that + * file: * * Termios command line History and Editting, originally * intended for NetBSD sh (ash) @@ -1999,8 +2000,8 @@ char **username_tab_completion(const char *buf, size_t *num_matches, return matches; } -/* This was originally called exe_n_cwd_tab_completion(), but we're not - * worried about executables, only filenames :> */ +/* We consider the first buflen characters of buf for filename tab + * completion. */ char **cwd_tab_completion(const char *buf, size_t *num_matches, size_t buflen) { diff --git a/src/utils.c b/src/utils.c @@ -157,10 +157,10 @@ void sunder(char *str) } } -/* These functions (ngetline() and ngetdelim(), originally getline() and - * getdelim()) were adapted from GNU mailutils 0.5 (mailbox/getline.c). - * Here is the notice from that file, after converting to the GPL via - * LGPL clause 3: +/* These functions, ngetline() (originally getline()) and ngetdelim() + * (originally getdelim()), were adapted from GNU mailutils 0.5 + * (mailbox/getline.c). Here is the notice from that file, after + * converting to the GPL via LGPL clause 3: * * GNU Mailutils -- a suite of utilities for electronic mail * Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.