[xiph-cvs] cvs commit: icecast/src xslt.c
Michael Smith
msmith at xiph.org
Tue Aug 13 06:53:07 PDT 2002
msmith 02/08/13 09:53:07
Modified: src xslt.c
Log:
Cache-checking is case-insensitive on win32.
Revision Changes Path
1.5 +4 -0 icecast/src/xslt.c
Index: xslt.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/xslt.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xslt.c 13 Aug 2002 12:46:45 -0000 1.4
+++ xslt.c 13 Aug 2002 13:53:07 -0000 1.5
@@ -97,7 +97,11 @@
for(i=0; i < CACHESIZE; i++) {
if(cache[i].filename)
{
+#ifdef _WIN32
+ if(!stricmp(fn, cache[i].filename))
+#else
if(!strcmp(fn, cache[i].filename))
+#endif
{
if(file.st_mtime > cache[i].last_modified)
{
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list