[Thunar-workers] [DokuWiki] page changed: implementation:mime-glob-match

thunar-workers at xfce.org thunar-workers at xfce.org
Mon Mar 7 01:32:07 CET 2005


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2005/03/07 00:32
Browser     : Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050122 Firefox/1.0
IP-Address  : 217.229.249.18
Hostname    : pD9E5F912.dip.t-dialin.net
Old Revision: http://thunar.xfce.org/wiki/implementation:mime-glob-match?rev=1110155409
New Revision: http://thunar.xfce.org/wiki/implementation:mime-glob-match
Edit Summary: fix typo in the sample code
User        : benny

@@ -64,8 +64,11 @@
            goto no_match;
          else if (*p != *f)
            break;
        }
+ 
+     if (*f == '\0' && *p == '\0')
+       goto match;
    }
  </code>
  
  The //literal patterns// should be stored in an array. At best,



-- 
This mail was generated by DokuWiki at
http://thunar.xfce.org/wiki/



More information about the Thunar-workers mailing list