NANO_SMALL issues

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2002-03-06 15:27:44 +00:00
parent ee91f71a66
commit 40ecbad296
3 changed files with 8 additions and 1 deletions

View File

@ -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

2
nano.c
View File

@ -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;

View File

@ -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)
{