more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3200 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
8dec783333
commit
d15c92d41a
|
@ -553,7 +553,7 @@ int mbstrncasecmp(const char *s1, const char *s2, size_t n)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef HAVE_STRCASESTR
|
#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:
|
* 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>
|
* Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu>
|
||||||
|
|
11
src/files.c
11
src/files.c
|
@ -1945,9 +1945,10 @@ int is_dir(const char *buf)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These functions (username_tab_completion(), cwd_tab_completion(), and
|
/* These functions, username_tab_completion(), cwd_tab_completion()
|
||||||
* input_tab()) were adapted from busybox 0.46 (cmdedit.c). Here is the
|
* (originally exe_n_cwd_tab_completion()), and input_tab(), were
|
||||||
* notice from that file:
|
* adapted from busybox 0.46 (cmdedit.c). Here is the notice from that
|
||||||
|
* file:
|
||||||
*
|
*
|
||||||
* Termios command line History and Editting, originally
|
* Termios command line History and Editting, originally
|
||||||
* intended for NetBSD sh (ash)
|
* intended for NetBSD sh (ash)
|
||||||
|
@ -1999,8 +2000,8 @@ char **username_tab_completion(const char *buf, size_t *num_matches,
|
||||||
return matches;
|
return matches;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This was originally called exe_n_cwd_tab_completion(), but we're not
|
/* We consider the first buflen characters of buf for filename tab
|
||||||
* worried about executables, only filenames :> */
|
* completion. */
|
||||||
char **cwd_tab_completion(const char *buf, size_t *num_matches, size_t
|
char **cwd_tab_completion(const char *buf, size_t *num_matches, size_t
|
||||||
buflen)
|
buflen)
|
||||||
{
|
{
|
||||||
|
|
|
@ -157,10 +157,10 @@ void sunder(char *str)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These functions (ngetline() and ngetdelim(), originally getline() and
|
/* These functions, ngetline() (originally getline()) and ngetdelim()
|
||||||
* getdelim()) were adapted from GNU mailutils 0.5 (mailbox/getline.c).
|
* (originally getdelim()), were adapted from GNU mailutils 0.5
|
||||||
* Here is the notice from that file, after converting to the GPL via
|
* (mailbox/getline.c). Here is the notice from that file, after
|
||||||
* LGPL clause 3:
|
* converting to the GPL via LGPL clause 3:
|
||||||
*
|
*
|
||||||
* GNU Mailutils -- a suite of utilities for electronic mail
|
* GNU Mailutils -- a suite of utilities for electronic mail
|
||||||
* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
Loading…
Reference in New Issue