Re: indent behaves in a strange way
Petr Pisar <[email protected]> Wed, 30 Sep 2020 10:40:11 +0200
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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:
>=20
> I took the following simple program, called Test.c:
>=20
> <start of Test.c>
> //
> //
> int x;
> int main() {
> x++;
> }
> <end of Test.c>
>=20
> I checked that it was correctly processed by gcc by calling
>=20
> gcc -oTest Test.c (no errors)
>=20
> then I wrote the command line
>=20
> indent Test.c
>=20
> and when I pressed RETURN the cursor went to the next line and
> nothing happened. I could return control only by pressing CTRL-C.
>=20
> 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).
>=20
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 ou=
t
what has changed (Windows, Msys64 standard library, indent executable) is t=
he
key point.
-- Petr
--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE4/QvzhVoMKgDWObpT9GuwzZa978FAl90RGYACgkQT9GuwzZa
97+/zQ/6Araqj39HrOpmvjKA5qohiD4ySNgxGSHZFBym2tT6gxCUHOxpf2C/WxKa
XkanAEZt1ZIePaPUxokjTjXCAF91S1GY3SJc+vb6YGPuLiPqRL6h3cfVY6O8VbrY
hi6Nfm8qLYSDaTWL8QB3WwN43Qm0KKerwcC9etg8J6UzrnmDYCGZS9n1XW4MkjWZ
iRq3PVNWYr1ix+L3UmI0K4+HmMdLXA4y7PbStuXPTK4TIdj5u3Uqcu9zDH+uKeXb
FIgZUMv8ocSzy1bMOdTT4I+FTQ1ID5Y3MogduTFZX41iUY3a6Yd9V+LxpqjslD4l
A8sPZySlr4Y5qBARzqPrt62AMhBs0uJObvpiX8rKnqXILte/T47JsFmS8AyuGT4n
lHE9v+gdAoIslP9XfdBrIEikcTPC19jdD28DB2qfIQyoEN8eL8xuCU+Gfib1LcQC
tHehor4re3Od1DgiLhV6Nxc2VnfLZryijBw491cycZqKfgaW0HpjFe8Qvv5Q7Arf
j343+eHACut2fC9mmPBWsw1B+EeJujDYZEASc/LKGndthhdsc7Z+d9JBdp40/Sea
BM2+vaYBrj6Qh7oyhBWrG+dPzUBLy7wrXuzurH4btzpvJQD7XrCEkNq+Nw4DSw33
07tXX1d41Z7730Eic/fNptNNvyR7GDj0AUN8sW9HT0vk0ozSBkI=
=hmld
-----END PGP SIGNATURE-----
--3MwIy2ne0vdjdPXF--