Skip to content

Fix compilation for AIX#567

Open
pgimalac wants to merge 1 commit into
gotestyourself:mainfrom
pgimalac:pgimalac/fix-unsupported-compilation
Open

Fix compilation for AIX#567
pgimalac wants to merge 1 commit into
gotestyourself:mainfrom
pgimalac:pgimalac/fix-unsupported-compilation

Conversation

@pgimalac
Copy link
Copy Markdown

The Event struct in watch_unsupported.go (AIX build stub) was missing the Args []string field that was added to the main Event struct.

This causes a compilation failure on AIX:

cmd/watch.go: event.Args undefined (type filewatcher.Event has no field or method Args)

This PR fixes the build on AIX/ppc64.

@pgimalac
Copy link
Copy Markdown
Author

The Event struct could just be moved to a common file by the way, it doesn't contain anything OS specific.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant