- utils.c:
strstrwrapper()
- NANO_SMALL test was backwards (Ken Tyler).
+- utils.c:
+ strcasestr(),revstrcasestr()
+ - Renamed to stristr and revstristr since strcasestr has not
+ been confirmed to be detected properly on various Linux
+ systems.
- nanorc.sample
- Mention unset in the sample nanorc.
- po/ca.po, po/es.po:
/* Programs we want available */
char *revstrstr(char *haystack, char *needle, char *rev_start);
-char *strcasestr(char *haystack, char *needle);
-char *revstrcasestr(char *haystack, char *needle, char *rev_start);
+char *stristr(char *haystack, char *needle);
+char *revstristr(char *haystack, char *needle, char *rev_start);
char *strstrwrapper(char *haystack, char *needle, char *rev_start);
int search_init(int replacing);
int renumber(filestruct * fileptr);
return 0;
}
-char *revstrcasestr(char *haystack, char *needle, char *rev_start)
+char *revstristr(char *haystack, char *needle, char *rev_start)
{
char *p, *q, *r;
/* This is now mutt's version (called mutt_stristr) because it doesn't
use memory allocation to do a simple search (yuck). */
-char *strcasestr(char *haystack, char *needle)
+char *stristr(char *haystack, char *needle)
{
const char *p, *q;
} else {
if (ISSET(REVERSE_SEARCH))
- return revstrcasestr(haystack, needle, rev_start);
+ return revstristr(haystack, needle, rev_start);
else
#endif
- return strcasestr(haystack, needle);
+ return stristr(haystack, needle);
#ifndef NANO_SMALL
}
#endif