Skip to content

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

Open
@kirussel

Description

@kirussel

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

References:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions