[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43982: strerror return value
From: |
Philipp Klaus Krause |
Subject: |
bug#43982: strerror return value |
Date: |
Tue, 13 Oct 2020 21:15:47 +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.
emacs contains two calls to strerror where the result is assigned
to a char *. However, according to the strerror specification, the
string returned by strerror should never be changed, so it would be
better to use const char * instead.
See the attached patch for the trivial fix.
emacs-strerror-const.patch
Description: Text Data
- bug#43982: strerror return value,
Philipp Klaus Krause <=