|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 2/6] tests/tcg/cris: Correct the off-by-one error |
Date: | Mon, 19 Jun 2023 08:55:52 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 6/16/23 17:27, Bin Meng wrote:
sysconf(_SC_OPEN_MAX) returns the maximum number of files that a process can have open at any time, which means the fd should not be larger than or equal to the return value. Signed-off-by: Bin Meng<bmeng@tinylab.org> --- (no changes since v1) tests/tcg/cris/libc/check_openpf5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |