nano

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

commit 40ecbad2969f140370959090e6532461d53f3ce6
parent ee91f71a66e7957a64e2f2e85e7feceecb456eaa
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed,  6 Mar 2002 15:27:44 +0000

NANO_SMALL issues


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

Diffstat:
MChangeLog | 5+++++
Mnano.c | 2++
Mutils.c | 2+-
3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -2,6 +2,11 @@ CVS code - - General - Type misalignments and mem leaks in renumber_all, do_justify and do_spell (Rocco & Steven Kneizys). +- nano.c: + main() + - Put NANO_SMALL defines around toggle pointer (noticed by Jordi); +- utils.c: + stristr() - Defined regardless of NANO_SMALL (noticed by Jordi). GNU nano 1.1.7 - 03/05/2002 - General diff --git a/nano.c b/nano.c @@ -2775,7 +2775,9 @@ int main(int argc, char *argv[]) int modify_control_seq; char *argv0; shortcut *s; +#ifndef NANO_SMALL toggle *t; +#endif #ifdef _POSIX_VDISABLE struct termios term; diff --git a/utils.c b/utils.c @@ -89,6 +89,7 @@ char *revstristr(char *haystack, char *needle, char *rev_start) } return 0; } +#endif /* NANO_SMALL */ /* This is now mutt's version (called mutt_stristr) because it doesn't use memory allocation to do a simple search (yuck). */ @@ -110,7 +111,6 @@ char *stristr(char *haystack, char *needle) } return NULL; } -#endif /* NANO_SMALL */ char *strstrwrapper(char *haystack, char *needle, char *rev_start) {