- Timestamp:
- Sep 11, 2006, 10:31:56 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_files.c
r46 r61 721 721 722 722 SL_ENTER(_("sh_files_globerr")); 723 724 if (errnum == ENOTDIR || errnum == ENOENT) 725 { 726 SL_RETURN(0, _("sh_files_globerr")); 727 } 723 728 724 729 p = sh_util_safe_name (epath); … … 2068 2073 if (sl_strlen(testpath) == (17 + sl_strlen(fullpath))) 2069 2074 { 2070 if (0 == sh_unix_file_stat (testpath))2075 if (0 != sh_unix_file_stat (testpath)) 2071 2076 { 2072 2077 sh_files_filecheck (class, fullpath, rsrc, &dummy, 1); -
trunk/src/sh_suidchk.c
r55 r61 521 521 0 != strcmp(tmpcat, ShSuidchkExclude))) 522 522 { 523 /* fs is a STATIC string 523 /* fs is a STATIC string or NULL 524 524 */ 525 525 fs = filesystem_type (tmpcat, tmpcat, &buf); … … 1771 1771 /* check for the "nosuid" option 1772 1772 */ 1773 #ifdef HAVE_HASMNTOPT 1773 1774 if (NULL == hasmntopt(mnt, "nosuid")) 1774 1775 type = mnt->mnt_type; 1775 1776 else 1776 type = _("nosuid"); 1777 type = _("nosuid"); /* hasmntopt (nosuid) */ 1778 #else 1779 type = mnt->mnt_type; 1780 #endif 1777 1781 } 1778 1782 }
Note:
See TracChangeset
for help on using the changeset viewer.