NANO_SMALL issues
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
ee91f71a66
commit
40ecbad296
|
@ -2,6 +2,11 @@ CVS code -
|
||||||
- General
|
- General
|
||||||
- Type misalignments and mem leaks in renumber_all, do_justify
|
- Type misalignments and mem leaks in renumber_all, do_justify
|
||||||
and do_spell (Rocco & Steven Kneizys).
|
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
|
GNU nano 1.1.7 - 03/05/2002
|
||||||
- General
|
- General
|
||||||
|
|
2
nano.c
2
nano.c
|
@ -2775,7 +2775,9 @@ int main(int argc, char *argv[])
|
||||||
int modify_control_seq;
|
int modify_control_seq;
|
||||||
char *argv0;
|
char *argv0;
|
||||||
shortcut *s;
|
shortcut *s;
|
||||||
|
#ifndef NANO_SMALL
|
||||||
toggle *t;
|
toggle *t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _POSIX_VDISABLE
|
#ifdef _POSIX_VDISABLE
|
||||||
struct termios term;
|
struct termios term;
|
||||||
|
|
2
utils.c
2
utils.c
|
@ -89,6 +89,7 @@ char *revstristr(char *haystack, char *needle, char *rev_start)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif /* NANO_SMALL */
|
||||||
|
|
||||||
/* This is now mutt's version (called mutt_stristr) because it doesn't
|
/* This is now mutt's version (called mutt_stristr) because it doesn't
|
||||||
use memory allocation to do a simple search (yuck). */
|
use memory allocation to do a simple search (yuck). */
|
||||||
|
@ -110,7 +111,6 @@ char *stristr(char *haystack, char *needle)
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* NANO_SMALL */
|
|
||||||
|
|
||||||
char *strstrwrapper(char *haystack, char *needle, char *rev_start)
|
char *strstrwrapper(char *haystack, char *needle, char *rev_start)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue