Skip to content
This repository was archived by the owner on Sep 4, 2026. It is now read-only.
This repository was archived by the owner on Sep 4, 2026. It is now read-only.

moved F_NOCACHE to a new header file to help port fsx.c #3

Description

@macosforgebot

kirk@… originally submitted this as ticket:15

  • Owner: somebody
  • Cc: krussell@…

kirussel/portablefstools@master...kirussel/fsxh

I propose the addition of a new header file, fsx.h, to help port fsx.c to other platforms. My changes compile on "Darwin Kernel Version 14.0.0" and "FreeBSD 10.1-STABLE". The biggest change is moving F_NOCACHE to the header file.

My goals were:

  • to keep any conditional compilation noise confined to fsx.h, instead of putting this in fsx.c
  • to keep the functionality of fsx.c the same as the original
  • avoid using conditional compilation to prevent parts of fsx.c code from compiling on other platforms

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions