indent behaves in a strange way

Bostjan Vilfan <[email protected]> Tue, 29 Sep 2020 19:40:29 +0200
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <CAAm34zq7+uYyn0pKrMtOCVcHbgQU8Regtcw2Lb6DzbWyvc4U6A@mail.gmail.com>
Hello,

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).

By the way, I made the same experiment on another computer
(also a Windows10 machine), and the result was the same.
Regards,
bostjanv