|
|
add a comment to the included strcasestr() for portability - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed) |
|
|
 |
git clone git://git.codemadness.org/sfeed_curses (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit f099ca0a6fabfcf4274c196ae5d25382fb9e12ab |
|
|
 |
parent f9354ef1a5b917bd26454efbe4e6d57a5aead514 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
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(-) |
|
|
|
--- |
|
|
 |
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) |
|