Changes between Initial Version and Version 1 of Ticket #43662
- Timestamp:
- May 14, 2014, 1:31:48 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43662
-
Property
Summary
changed from
(GNU) indent -kr crashes
toindent: gnuindent -kr crashes
-
Property
Summary
changed from
-
Ticket #43662 – Description
initial v1 1 1 I'm trying to reformat the Perl C source files. The macports gnuindent 2.2.10 seems to crash (as in: segfault) on some files, when I use the -kr option for K&R style. The crash is fully reproducible. I cannot see a correlation between the size of the input file and a crash. I'm attaching one of the crash-inducing files, utf8.c, here for repro. Note: if run as 2 2 3 {{{ 3 4 gnuindent -kr utf8.c 5 }}} 4 6 5 7 not only there is a segfault, but the utf8.c gets truncated, too (since by default gnu indent outputs to the input file...) … … 7 9 I'm running the latest macports, on OS X 10.9.2. 8 10 9 I tried indent in a Ubuntu precise, indent --versionsays there 2.2.11, no crashes.11 I tried indent in a Ubuntu precise, `indent --version` says there 2.2.11, no crashes. 10 12