GNU bug report logs - #50167
fixes for "fmt - -" etc.

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sun, 22 Aug 2021 20:14:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 50167 <at> debbugs.gnu.org
Subject: bug#50167: fixes for "fmt - -" etc.
Date: Tue, 24 Aug 2021 14:09:36 -0700
On 8/24/21 12:42 PM, Bernhard Voelker wrote:
> Was there a particular reason to include stdlib.h?

It's needed to declare 'free', which is used by  _GL_ATTRIBUTE_DEALLOC_FREE.

I added "#include <stdlib.h>" so that find-mount-point.h would be an 
independent header, potentially useful outside coreutils. If that's the 
intent, we should fix "make syntax-check" to not complain about this 
situation. If it's not the intent then your patch looks good.

Jim, what's your opinion on this?




This bug report was last modified 3 years and 272 days ago.

Previous Next


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