Low-power
Low-power
So... I implemented a very simple pseudo terminal testing program in C# (https://gist.github.com/Low-power/3637796bb0e8df298d3ff1c47e4ff2ea/), and experienced the same hehavior when running it in Mono. ``` $ tty /dev/pts/1 $ mono pty.exe...
Custom signal handlers will be reset to `SIG_DFL` when exec a new program, while `SIG_IGN` will remain across exec; it is stated by POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html). > Signals set to the...
Yes, I think that's a right thing to do.
> No big endian machine currently It builds on my big-endian POWER7 machine, with Linux 4.1 and 6.1. No further testings are done because current running kernel can't be used...
Unfortunately I didn't have my hands on FreeBSD/powerpc64 right this time. I only experienced working FreeBSD/powerpc64 live system under QEMU/KVM, so I guess using the standard iso images should be...
```c if (write(1, buf, len) < 0) return (errno); ``` Short writes may occur.
Lasty in this comment: ```c /* Write the data out, handling short reads and signals. */ ``` I think the code means **short writes** not reads.
When trying out this feature, I accidently runs it without redirecting, thus trashed my terminal... May be it is better to have a `isatty(STDOUT_FILENO)` check just like in **zfs-send(8)**.
Seems also affecting X11. Update: only in some older versions of SDL2, no similar issues found in the latest SDL2 release under X11.
I guess this is caused by some kind of race condition where the `writeSpawnData` is called before a player mount to the parachute. This is actually the first bug fix...