indent 2.2.10 toggles the output on subsequent calls
Gernot Tenchio <[email protected]> Wed, 7 Jan 2009 16:06:41 +0100
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, After upgrading to fedora 10 and indent-2.2.10 the attached code snippet toggles the output of indent between two different styles. This meens, indenting an always indented file reformats it again. I've used indent without args. Any hints? Gernot -- office: g.tenchio_AT_telco-tech_DOT_de http://www.telco-tech.de/ privat: gernot_AT_tenchio_DOT_de http://www.tenchio.de/ Verbringe deine Zeit nicht mit der Suche nach einem Hindernis, vielleicht ist keins da. (Franz Kafka) _______________________________________________ bug-indent mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-indent
t.orig.c
(text/x-csrc, 219 B)
void a ()
{
id = source ? (f ? f->id_src_dev : fwr->id_src_dev) : (f ? f->id_dst_dev : fwr->id_dst_dev);
strbuf_appendf(sb, "%s\n",inet_ntoa(*((struct in_addr *) &ifr->ifr_addr.sa_data[sizeof(sa.sin_port)])));
}