You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
niu 1.4.4, rubash 1b14a3d vs GNU bash 5.3. Repro: ~/niutest/agentFAv/cosmo.sh. All are message-text/ordering diffs only — exit codes and redirection targets match.
<> file (O_RDWR open) failure doubles the filename; >/>> on the same target do not:
echo hi <> /data/data/com.termux/files/usr/tmp
# GNU: cosmo.sh: line 1: /data/.../tmp: Is a directory
# niu: cosmo.sh: line 1: /data/.../tmp: /data/.../tmp: Is a directory
/dev/tcp refused-connect drops GNU's bare first line:
(exec 3<>/dev/tcp/127.0.0.1/1)
# GNU prints BOTH: cosmo.sh: connect: Connection refused
# cosmo.sh: line 2: /dev/tcp/127.0.0.1/1: Connection refused
# niu prints only the second line.
/dev/tcp bad service name drops GNU's resolver first line:
(exec 3<>/dev/tcp/127.0.0.1/notaport)
# GNU prints BOTH: cosmo.sh: line 3: notaport: servname not supported for ai_socktype
# cosmo.sh: line 3: /dev/tcp/127.0.0.1/notaport: Invalid argument
# niu prints only the second line.
Write-error vs subsequent-output order through a pipe is swapped (deterministic, 3/3 runs each):
(echo hi >&-; echo "rc=0") 2>&1 | cat
# GNU: 'echo: write error: Bad file descriptor' THEN 'rc=1'
# niu: 'rc=1' THEN 'echo: write error: Bad file descriptor'
(stderr-to-file/devnull routing itself matches — verified separately — so this is interleave order only.)
Activity
fix: stream armed capture frames in write order for merged fd1/fd2 (#…
vfs S2 fix: quick-read net arm reads through the native socket form