bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strerror return value


From: Gavin Smith
Subject: Re: strerror return value
Date: Sun, 18 Oct 2020 17:21:42 +0100
User-agent: Mutt/1.9.4 (2018-02-28)

On Wed, Oct 14, 2020 at 02:24:15PM +0200, Philipp Klaus Krause wrote:
> This is just a very minor issue.
> 
> texinfo contains two calls to strerror where the result is used to
> initialize or assign to a char *. However, according to the strerror
> specification, the string returned by strerror should never be changed,
> so I think it would be better to use const char * instead.
> 
> Besides these two, there are further such calls in texinfo via in
> gnulib. I guess texinfo doesn't want to diverge from the gnulib version
> that was once pulled in over this issue (and upstream gnulib has fixed
> them by now anyway, so the problematic use in texinfo will disappear by
> itself sometime a newer gnulib is pulled in).

Thank you, applied.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]