Jan Scheer
Jan Scheer
try: ```javascript Java.perform(function() { var context = Java.use("android.content.Context"); /* FileOutputStream openFileOutput (String name, int mode) */ context.openFileOutput.overload("java.lang.String","java.lang.Integer").implementation = function(name, mode) { this.openFileOutput.overload("java.lang.String","java.lang.Integer").call(this, name, mode); } }); ```
Bummer! I went through the last commits of `tail`, but at first glance I didn't see anything that might be related to this issue. It could also be because changes...
> On windows platforms (and I assume on android platforms, too) the statement self.is_file() || self.exists() = false resolves to false. This leads to the input not handled and silently...
Also related to https://github.com/uutils/coreutils/issues/2873#issuecomment-1024940029, https://github.com/uutils/coreutils/issues/2873#issuecomment-1121421934, https://github.com/uutils/coreutils/issues/2873#issuecomment-1121436639
@niyaznigmatullin Thanks for the feedback. I think both of your points are valid. I'll implement them soon.
This should be good to go.
> I tested all tests with timeouts, everything passed Nice, thanks for testing. > I propose to use old opened reader, since it stores the file descriptor inside it, so...
I came across this because one of the tests from `gnu/tests/tail-2/follow-stdin.sh` also uses ` bool { let fd = stdin().as_raw_fd(); // FIXME: this is never `true`, even with `
> @jhscheer It's because of what @bjorn3 wrote in [#2873 (comment)](https://github.com/uutils/coreutils/issues/2873#issuecomment-1024940029) Thanks. There's a discussion about why stdlib is reopening the file descriptors [here](https://github.com/rust-lang/rust/pull/75295). @tavianator did you open an issue...
@jfinkels As I am/was suffering from this system crash as well, I'm curious how you pinpointed the issue to `gnu/tests/dd/skip-seek-past-dev.sh` ?