On Wed, Aug 25, 2021, 4:37 PM Bernhard Voelker
wrote:
> On 8/25/21 10:38 AM, Jim Meyering wrote:
> > * cfg.mk (exclude_file_name_regexp--sc_system_h_headers):
> > Add find-mount-point.h to the regexp.
>
> +1
> even better, thanks.
>
Thanks. Pushed.
>
On 8/25/21 10:38 AM, Jim Meyering wrote:
> * cfg.mk (exclude_file_name_regexp--sc_system_h_headers):
> Add find-mount-point.h to the regexp.
+1
even better, thanks.
Have a nice day,
Berny
On Tue, Aug 24, 2021 at 11:10 PM Paul Eggert wrote:
> 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 " so that find-mount-point.h would be an
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 " so that find-mount-point.h would be an
independent header, potentially useful outside coreutils. If
Hi Paul,
On 8/22/21 10:12 PM, Paul Eggert wrote:
> Subject: [PATCH 4/4] df: pacify -Wsuggest-attribute=malloc
>
> Problem found with latest Gnulib and GCC 11.2.1.
> * src/find-mount-point.h (find_mount_point):
> Add _GL_ATTRIBUTE_MALLOC and _GL_ATTRIBUTE_DEALLOC_FREE.
> ---
> src/find-mount-point
After finding a similar problem in GNU grep, I audited coreutils for
issues involving reading stdin twice, or neglecting to report read
errors, and installed the attached. The 2nd patch does the real work;
the rest is merely doc or Gnulib patches.
>From b6a0654e04482f400eb2d5752ec13e15eb53743c M