Gnulib breaks CC_FOR_BUILD

2018-12-22 Thread John Darrington
I'm trying to use gnulib in the same project as ax_prog_cc_for_build.m4 from the autoconf archive[1]. But it seems that they do not play nicely together. Specifically, gnulibs std-gnu11.m4 seems to negate the effect of the former, resulting in CC_FOR_BUILD always getting defined as the empty

argp: pass NULL as msgid to dgettext without checks

2018-12-22 Thread He X
since my libc is musl, tar is using builtin argp implementation, which will pass NULL as msgid to dgettext without additional checks. but according to https://www.gnu.org/software/gettext/manual/html_node/Interface-to-gettext.html, passing NULL to gettext is undefined. and, musl chose to crash..

Re: [Regression/Android] Commit e7fb52b3 causes segfault on 32-bit platforms

2018-12-22 Thread Paul Eggert
bore wrote: What is causing this is int _flags; \ int _file; \ on 32bit it needs to be short _flags; \ short _file; \ Thanks for the suggestion. Does the attached Gnulib patch fix the problem? I haven't installed it and can't easily test it. >From 8f87a66104c1e270d3ada0eb2753ba835f7aa498