bug-coreutils
[Top][All Lists]
Advanced

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

bug#50167: fixes for "fmt - -" etc.


From: Paul Eggert
Subject: bug#50167: fixes for "fmt - -" etc.
Date: Tue, 24 Aug 2021 14:09:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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?





reply via email to

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