Collin Funk wrote:
> I've applied the attached patch to fix this crash.

Thanks. Looks good.

> I'm not sure why gnulib-tool.sh handles the tabs correctly to be
> honest...

It's because after
  deps=`func_get_dependencies $module | sed -e 
"$sed_dependencies_without_conditions"`
the variable deps contains

"count-leading-zeros    [$GL_GENERATE_STDBIT_H]
count-trailing-zeros    [$GL_GENERATE_STDBIT_H]
count-one-bits          [$GL_GENERATE_STDBIT_H]
stdbool                 [$GL_GENERATE_STDBIT_H]
"

and the subsequent
  for dep in $deps; do
loop does word splitting and thus iterates over 8 words:
  count-leading-zeros
  [$GL_GENERATE_STDBIT_H]
  count-trailing-zeros
  [$GL_GENERATE_STDBIT_H]
  count-one-bits
  [$GL_GENERATE_STDBIT_H]
  stdbool
  [$GL_GENERATE_STDBIT_H]
Four of these are not valid module names and are therefore filtered out
(silently!).

Bruno




Reply via email to