Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26399/src

Modified Files:
        misc.c 
Log Message:
         * src/misc.c (select_template): templates were compared
           case-sensitively, which could lead to non-exported files.



Index: misc.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/misc.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- misc.c      5 Apr 2006 14:24:47 -0000       1.193
+++ misc.c      28 Apr 2006 15:07:51 -0000      1.194
@@ -1,5 +1,5 @@
 /* -*- coding: utf-8; -*-
-|  Time-stamp: <2005-12-11 00:15:39 jcs>
+|  Time-stamp: <2006-04-29 00:01:38 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -1097,7 +1097,8 @@
        }
        else if (ext && (strlen (*tplp) >= strlen (ext)))
        {  /* this template is valid if the extensions match */
-           if (strcmp (&((*tplp)[strlen (*tplp) - strlen (ext)]), ext) == 0)
+           if (strcasecmp (&((*tplp)[strlen (*tplp) - strlen (ext)]),
+                           ext) == 0)
                break;
        }
        ++tplp;



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to