GNU bug report logs - #43979
strerror return value

Previous Next

Package: parted;

Reported by: Philipp Klaus Krause <pkk <at> spth.de>

Date: Tue, 13 Oct 2020 17:53:02 UTC

Severity: normal

To reply to this bug, email your comments to 43979 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#43979; Package parted. (Tue, 13 Oct 2020 17:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp Klaus Krause <pkk <at> spth.de>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Tue, 13 Oct 2020 17:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philipp Klaus Krause <pkk <at> spth.de>
To: bug-parted <at> gnu.org
Subject: strerror return value
Date: Tue, 13 Oct 2020 19:05:30 +0200
This is just a very minor issue.

libparted contains some 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.

This affects one line each in

libparted/arch/beos.c
libparted/arch/linux.c

Philipp




This bug report was last modified 4 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.