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.

small cleanup to fsx.c #2

Description

@macosforgebot

kirk@… originally submitted this as ticket:14

  • Owner: somebody
  • Cc: krussell@…

kirussel/portablefstools@master...kirussel/misc

I have proposed some changes that fixes the following:

  • for msync(), uses MS_SYNC, instead of hard coding zero
  • for mmap(), uses MAP_FAILED, instead of harding coding -1
  • for getopt(), using -1, instead of EOF
  • added "y" to the getopt string -- this is already implemented but is missing from the command line args

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