Changeset 61 for trunk/src/sh_suidchk.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_suidchk.c

    r55 r61  
    521521               0 != strcmp(tmpcat, ShSuidchkExclude)))
    522522            {
    523               /* fs is a STATIC string
     523              /* fs is a STATIC string or NULL
    524524               */
    525525              fs = filesystem_type (tmpcat, tmpcat, &buf);
     
    17711771          /* check for the "nosuid" option
    17721772           */
     1773#ifdef HAVE_HASMNTOPT
    17731774          if (NULL == hasmntopt(mnt, "nosuid"))
    17741775            type = mnt->mnt_type;
    17751776          else
    1776             type = _("nosuid");
     1777            type = _("nosuid"); /* hasmntopt (nosuid) */
     1778#else
     1779          type = mnt->mnt_type;
     1780#endif
    17771781        }
    17781782    }
Note: See TracChangeset for help on using the changeset viewer.