ucode: fix EOF detection in the non-blocking read patch
authorFelix Fietkau <[email protected]>
Thu, 16 Oct 2025 18:57:51 +0000 (18:57 +0000)
committerFelix Fietkau <[email protected]>
Thu, 16 Oct 2025 18:58:55 +0000 (20:58 +0200)
commit2d067b0dd545825d66497b78487135ee887cab6b
treee4fbf0085ce684f427834982c7e161f5c754a70a
parent84b7057fe3a83b32b69da4beb26d3f9d81a75213
ucode: fix EOF detection in the non-blocking read patch

size = 0 means EOF - do not return an empty string in this case
(which implies no data available).

Signed-off-by: Felix Fietkau <[email protected]>
package/utils/ucode/patches/121-fs-add-read_nb-method-for-non-blocking-reads.patch
package/utils/ucode/patches/122-fs-add-mkdtemp-method-for-creating-temporary-directo.patch