Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/usr/dash/expand.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 814 by niro, Sat Sep 1 22:45:15 2007 UTC revision 815 by niro, Fri Apr 24 18:32:46 2009 UTC
# Line 1581  pmatch(const char *pattern, const char * Line 1581  pmatch(const char *pattern, const char *
1581   if (c == '[') {   if (c == '[') {
1582   const char *r;   const char *r;
1583    
1584   found |= ccmatch(p, chr, &r);   found |= !!ccmatch(p, chr, &r);
1585   if (r) {   if (r) {
1586   p = r;   p = r;
1587   continue;   continue;

Legend:
Removed from v.814  
changed lines
  Added in v.815