bug-guile
[Top][All Lists]
Advanced

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

bug#43987: strerror return value


From: Philipp Klaus Krause
Subject: bug#43987: strerror return value
Date: Wed, 14 Oct 2020 13:23:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

This is just a very minor issue.

libguile contains two calls to strerror where the result is used to
initialize 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.

Philipp

Attachment: guile-strerror-const.patch
Description: Text Data


reply via email to

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