version 1.17 | | version 1.18 |
---|
| | |
/* | | /* |
* static char *rcsid_utils_c = | | * static char *rcsid_utils_c = |
* "$Id: utils.c,v 1.17 2005/07/14 09:18:55 akirschbaum Exp $"; | | * "$Id: utils.c,v 1.18 2005/07/17 11:00:03 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*dest='\0'; | | *dest='\0'; |
} | | } |
| | |
char* strrstr(const char* haystack, const char* needle){ | | const char* strrstr(const char* haystack, const char* needle){ |
const char* lastneedle; | | const char* lastneedle; |
lastneedle=NULL; | | lastneedle=NULL; |
while(haystack=strstr(haystack,needle)){ | | while(haystack=strstr(haystack,needle)){ |