Changeset 184


Ignore:
Timestamp:
Oct 26, 2008, 1:15:09 PM (16 years ago)
Author:
katerina
Message:

Fix compiling with --enable-mounts-check on FreeBSD 7.0 (ticket #123).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r183 r184  
    112.5.0:
     2        * fix --enable-mounts-check for FreeBSD 7.0 (no MNT_NODEV anymore)
     3        * log monitoring support
    24        * fixed constness in trustfile interface
    35        * remove libprelude 0.8 support (obsolete)
  • trunk/src/sh_mounts.c

    r169 r184  
    585585
    586586        struct {char *opt; int flag;} table[] = {
     587#ifdef MNT_RDONLY
    587588                {"ro",          MNT_RDONLY},
     589#endif
     590#ifdef MNT_NOEXEC
    588591                {"noexec",      MNT_NOEXEC},
     592#endif
     593#ifdef MNT_NOSUID
    589594                {"nosuid",      MNT_NOSUID},
     595#endif
     596#ifdef MNT_NODEV
    590597                {"nodev",       MNT_NODEV},
     598#endif
     599#ifdef MNT_SYNCHRONOUS
    591600                {"sync",        MNT_SYNCHRONOUS},
     601#endif
     602#ifdef MNT_ASYNC
    592603                {"async",       MNT_ASYNC},
     604#endif
     605#ifdef MNT_LOCAL
    593606                {"local",       MNT_LOCAL},
     607#endif
     608#ifdef MNT_QUOTA
    594609                {"quota",       MNT_QUOTA},
     610#endif
    595611#ifdef MNT_NOATIME
    596612                {"noatime",     MNT_NOATIME},
Note: See TracChangeset for help on using the changeset viewer.