Changeset 3101


Ignore:
Timestamp:
Oct 20, 2017, 3:00:38 PM (7 years ago)
Author:
bird
Message:

rm.c,install.c: GNU/kFreeBSD build fixes (no fflags conversion functions).

Location:
trunk/src/kmk/kmkbuiltin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kmk/kmkbuiltin/install.c

    r3062 r3101  
    9393#endif
    9494#include "kmkbuiltin.h"
     95#include "k/kDefs.h"    /* for K_OS */
    9596
    9697
     
    214215                        break;
    215216                case 'f':
    216 #ifdef UF_IMMUTABLE
     217#if defined(UF_IMMUTABLE) && K_OS != K_OS_GNU_KFBSD
    217218                        flags = optarg;
    218219                        if (strtofflags(&flags, &fset, NULL))
  • TabularUnified trunk/src/kmk/kmkbuiltin/rm.c

    r3062 r3101  
    8686#include "kmkbuiltin.h"
    8787#include "kbuild_protection.h"
     88#include "k/kDefs.h"    /* for K_OS */
    8889
    8990#if defined(__EMX__) || defined(KBUILD_OS_WINDOWS)
     
    348349                                p->fts_number = SKIPPED;
    349350                        }
    350 #ifdef UF_APPEND
     351#if defined(UF_APPEND) && K_OS != K_OS_GNU_KFBSD
    351352                        else if (!uid &&
    352353                                 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
Note: See TracChangeset for help on using the changeset viewer.