bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indent behaves in a strange way


From: Bostjan Vilfan
Subject: indent behaves in a strange way
Date: Tue, 29 Sep 2020 19:40:29 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]