Skip to content

fix proposition for stat.st_dev unsupported (Solaris 32b) #31

Description

@Aldian-fr

For reference I came here after investigating https://logstash.jira.com/browse/LOGSTASH-665

It appears that the bug comes from filewatch which can't use stat.st_dev on Solaris. But (see my comment 22253 on the bug report) after replacing occurences of stat.dev_major and stat.dev_minor by nil, the bug disappeared.

I need an indication on the safety risk of this hack since I am not used to ruby, and in case there would not be too much, I suggest you should catch the exception and use nill as a default value.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions