[MacPorts] #43662: (GNU) indent -kr crashes
MacPorts
noreply at macports.org
Sat May 10 08:33:19 PDT 2014
#43662: (GNU) indent -kr crashes
--------------------+--------------------------------
Reporter: jhi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: indent
--------------------+--------------------------------
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
gnuindent -kr utf8.c
not only there is a segfault, but the utf8.c gets truncated, too (since by
default gnu indent outputs to the input file...)
I'm running the latest macports, on OS X 10.9.2.
I tried indent in a Ubuntu precise, indent --version says there 2.2.11, no
crashes.
--
Ticket URL: <https://trac.macports.org/ticket/43662>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list