Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file(1) isn't available everywhere #309

Closed
Xyene opened this issue Jan 17, 2018 · 2 comments
Closed

file(1) isn't available everywhere #309

Xyene opened this issue Jan 17, 2018 · 2 comments

Comments

@Xyene
Copy link
Member

Xyene commented Jan 17, 2018

We should catch the OSError and give a nicer message.

@quantum5
Copy link
Member

We should be able to remove the dependency if we abandon compatibility with older kernels, i.e. those without PTRACE_GETREGSET.

Xyene added a commit that referenced this issue Oct 1, 2018
Some systems (like Termux by default) do not ship with `file(1)`, in which case the judge crashes with a poor error message in unrelated code.
Xyene added a commit that referenced this issue Oct 1, 2018
Some systems (like Termux by default) do not ship with `file(1)`, in which case the judge crashes with a poor error message in unrelated code.
@Xyene
Copy link
Member Author

Xyene commented Oct 1, 2018

Fixed.

@Xyene Xyene closed this as completed Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants