On Tue, Sep 29, 2020 at 07:40:29PM +0200, Bostjan Vilfan wrote: > I'm using gcc and indent in an msys64 installation on Windows10. > Can someone, please, explain the following strange behavior of the > indent program: > > I took the following simple program, called Test.c: > > <start of Test.c> > // > // > int x; > int main() { > x++; > } > <end of Test.c> > > I checked that it was correctly processed by gcc by calling > > gcc -oTest Test.c (no errors) > > then I wrote the command line > > indent Test.c > > and when I pressed RETURN the cursor went to the next line and > nothing happened. I could return control only by pressing CTRL-C. > > I may note that until recently I had no problems with indent. I > began noticing this problem only a few days ago (not only with > the Test.c program). > It works for me on GNU/Linux. Since indent project does not provide executables for Win64 <e.g. ftp://mirror.easyname.at/gnu/indent/>, I think you will have to contact your provider of the executable. I believe figuring out what has changed (Windows, Msys64 standard library, indent executable) is the key point.
-- Petr
signature.asc
Description: PGP signature