From owner-freebsd-current Thu Jan 28 01:13:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA12479 for freebsd-current-outgoing; Thu, 28 Jan 1999 01:13:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA12465 for ; Thu, 28 Jan 1999 01:13:37 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08320; Thu, 28 Jan 1999 08:01:33 +0100 From: Luigi Rizzo Message-Id: <199901280701.IAA08320@labinfo.iet.unipi.it> Subject: Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h) To: bde@zeta.org.au (Bruce Evans) Date: Thu, 28 Jan 1999 08:01:33 +0100 (MET) Cc: bde@zeta.org.au, grog@lemis.com, current@FreeBSD.ORG, peter.jeremy@auss2.alcatel.com.au In-Reply-To: <199901280819.TAA23954@godzilla.zeta.org.au> from "Bruce Evans" at Jan 28, 99 07:18:53 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I see no evidence of this. vinum sources don't seem to have a single > line in KNF, except accidentally. They have an indentation of 4 > instead of 8, lots of per-statement comments, lots of lines longer > than 80 characters, lots of block comments without `/*' and `*/' on > a line by themself, ... not speaking about vinum, but to me, the indentation of 8 char and line length of 80 chars are almost mutually exclusive. See e.g. tcp_input.c ip_input.c and many network device drivers as an example -- basically all places where, for efficiency reasons, the code tries to expand in-line various block, the depth of indentation pushes everything to the right end leaving only 20-30 useful chars per line. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO . EMAIL: luigi@iet.unipi.it . Dip. di Ing. dell'Informazione HTTP://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message