Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19036/src/util
Modified Files:
strutil.cpp
Log Message:
renamed strsep() to strutil_strsep(), it conflicted with strsep in dspam
Index: strutil.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/strutil.cpp,v
retrieving revision 1.130
retrieving revision 1.131
diff -b -u -2 -r1.130 -r1.131
--- strutil.cpp 10 Apr 2004 23:04:46 -0000 1.130
+++ strutil.cpp 10 Jul 2004 19:44:37 -0000 1.131
@@ -224,8 +224,10 @@
}
-#ifndef HAVE_STRSEP
char *
-strsep(char **stringp, const char *delim)
+strutil_strsep(char **stringp, const char *delim)
{
+#ifdef HAVE_STRSEP
+ return strsep(stringp, delim);
+#else // !HAVE_STRSEP
char
* cptr = *stringp,
@@ -248,6 +250,6 @@
*stringp = nextdelim;
return cptr;
+#endif // HAVE_STRSEP/!HAVE_STRSEP
}
-#endif // HAVE_STRSEP
void
@@ -258,5 +260,5 @@
for(;;)
{
- found = strsep(&string, delim);
+ found = strutil_strsep(&string, delim);
if(! found || ! *found)
break;
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates