/[xforms]/xforms/lib/listdir.c
ViewVC logotype

Diff of /xforms/lib/listdir.c

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

revision 1.6 by leeming, Mon Sep 8 23:48:36 2003 UTC revision 1.7 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 24  Line 24 
24   * \file listdir.c   * \file listdir.c
25   *.   *.
26   *  This file is part of the XForms library package.   *  This file is part of the XForms library package.
27   *  Copyright (c) 1996-2002  T.C. Zhao   *  Copyright (c) 1996-2002  T.C. Zhao
28   *  All rights reserved.   *  All rights reserved.
29   *.   *.
30   *   *
# Line 228  fselect(const char *d_name, struct stat Line 228  fselect(const char *d_name, struct stat
228             ret = *type == FT_DIR ||             ret = *type == FT_DIR ||
229                         (fl_wildmat(d_name, cpat) && ffilter(fname, *type));                         (fl_wildmat(d_name, cpat) && ffilter(fname, *type));
230          else          else
231             ret = (*type == FT_DIR || fl_wildmat(d_name, cpat)) &&             ret = (*type == FT_DIR || fl_wildmat(d_name, cpat)) &&
232                    ffilter(fname, *type);                    ffilter(fname, *type);
233      }      }
234      return ret;      return ret;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26