|
From: | Changqing Li |
Subject: | misleading error report message |
Date: | Wed, 6 Nov 2024 09:59:43 +0800 |
User-agent: | Mozilla Thunderbird |
Hi, Dear maintainers I found a misleading error report message this line, refer [1], It may report error like: "...: /home/user1/.terminfo: permission denied (errno 122)",
while 122 means "disk full". maybe it is better not hardcode the error string, but use
something like strerror(errno). [1] https://github.com/mirror/ncurses/blob/master/ncurses/tinfo/write_entry.c#L235
Regards Changqing
|
[Prev in Thread] | Current Thread | [Next in Thread] |