add a comment to the included strcasestr() for portability - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f099ca0a6fabfcf4274c196ae5d25382fb9e12ab
(DIR) parent f9354ef1a5b917bd26454efbe4e6d57a5aead514
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Mar 2021 18:01:23 +0100
add a comment to the included strcasestr() for portability
It is a non-standard (but very common available) GNU function. Add a comment
this is added for portability sake though.
Diffstat:
M sfeed_curses.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -271,6 +271,7 @@ estrdup(const char *s)
return p;
}
+/* strcasestr() included for portability */
#undef strcasestr
char *
strcasestr(const char *h, const char *n)