Date: 21 Aug 2004 05:27:38 -0000 From: Mike Meyer <mwm@mired.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/70756: [PATCH] indent mishandles code that is protected for c++ compilers Message-ID: <20040821052738.19827.qmail@mired.org> Resent-Message-ID: <200408210540.i7L5eO2b046065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70756 >Category: bin >Synopsis: [PATCH] indent mishandles code that is protected for c++ compilers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 21 05:40:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 4.9-STABLE i386 >Organization: Meyer Consulting >Environment: System: FreeBSD guru.mired.org 4.9-STABLE FreeBSD 4.9-STABLE #24: Sat Feb 7 16:15:12 CST 2004 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/GURU i386 >Description: If you have a C file that is protected against c++ compilers by starting with #ifdef __cplusplus extern "C" { #endif the entire file is shifted over one tab stop. >How-To-Repeat: Try running indent on this code. >Fix: Remove indent from the core system. gindent is in the ports, and handles this case correctly. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040821052738.19827.qmail>