Re: [patch] glob: do not place declarations after code, so it will compile on Haiku

2017-07-02 Thread Bruno Haible
[CCing haikuports list] Benno Schulenberg wrote in : > Trying to build nano from git on Haiku failed because, among other > things, in the gnulib module glob, a variable is declared after a > bit of code and the gcc-2* compiler

[patch] glob: do not place declarations after code, so it will compile on Haiku

2017-07-02 Thread Benno Schulenberg
Hi, Trying to build nano from git on Haiku failed because, among other things, in the gnulib module glob, a variable is declared after a bit of code and the gcc-2* compiler on Haiku does not permit that. (This is on a 32-bit machine.) Attached is a patch that avoids the issue. (For my build, I