[PATCH] maintainer-makefile: Add indentation syntax-check rule.

2021-09-03 Thread Simon Josefsson via Gnulib discussion list
Hi. I realized the main reason I don't consistenly enforce code indentation in the projects I work on is that it isn't tested before releases (or via CICD builds). The syntax-check framework to the rescue! Not everyone will like this, but as usual it is simple to disable on a per-project basis,

Re: [Gnulib] wordexp function available on Android versions different from 9? And how can we know? How do I discover that?

2021-09-03 Thread Bruno Haible
Luca Saiu wrote: > > Are you sure you don't want to use glob() or fnmatch() instead? > > What I actually need is variable expansion, and wordexp can be called to > do (almost) only that; wordexp [1] also has a notion of quoting and unquoting. And of invalid characters (, '|', '&', ';', '<',

Re: [Gnulib] wordexp function available on Android versions different from 9? And how can we know? How do I discover that?

2021-09-03 Thread Luca Saiu
Hello Bruno. On 2021-09-03 at 15:48 +0200, Bruno Haible wrote: > Typically functions get added to an OS or libc over time, and don't get > removed. Therefore, if the doc says "unavailable in Android 9.0" it also > means "unavailable in all Android versions ≤ 9.0". [...] Very interesting;

Re: [Gnulib] wordexp function available on Android versions different from 9? And how can we know? How do I discover that?

2021-09-03 Thread Bruno Haible
[CCing bug-gnulib. Please always use the mailing list, not private email, to discuss Gnulib topics.] Luca Saiu wrote: > I would like to use the function wordexp, which is in posix; it would be > better if that was also available on Android. > > Just looking on the web I happened to find the