Changeset 61 for trunk/src/sh_files.c


Ignore:
Timestamp:
Sep 11, 2006, 10:31:56 PM (18 years ago)
Author:
rainer
Message:

Fix for MacOX X problems and Cygwin compile problem, resolves tickets #33, #34, #35.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_files.c

    r46 r61  
    721721
    722722  SL_ENTER(_("sh_files_globerr"));
     723
     724  if (errnum == ENOTDIR || errnum == ENOENT)
     725    {
     726      SL_RETURN(0, _("sh_files_globerr"));
     727    }
    723728
    724729  p = sh_util_safe_name (epath);
     
    20682073      if (sl_strlen(testpath) == (17 + sl_strlen(fullpath)))
    20692074        {
    2070           if (0 == sh_unix_file_stat (testpath))
     2075          if (0 != sh_unix_file_stat (testpath))
    20712076            {
    20722077              sh_files_filecheck (class, fullpath, rsrc, &dummy, 1);
Note: See TracChangeset for help on using the changeset viewer.