From owner-freebsd-hackers Mon Jul 19 11:48:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (Postfix) with ESMTP id E796814F30 for ; Mon, 19 Jul 1999 11:48:15 -0700 (PDT) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA230404906; Mon, 19 Jul 1999 10:35:06 -0400 Date: Mon, 19 Jul 1999 10:35:06 -0400 (EDT) From: Bill Fumerola To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: telnetd In-Reply-To: <199907171932.NAA64473@harmony.village.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Jul 1999, Warner Losh wrote: > What purpose is served by the twisty maze of ifdefs in telnetd? I'd > like to unifdef many of them. I'm trying to track down a bug and the > twisty maze makes it very hard to follow. Comments? There seem to be some fairly stupid ones in src/sbin too. ./dump/optr.c:#if __STDC__ ./init/init.c:#ifdef __STDC__ ./newfs/mkfs.c:#ifdef __ELF__ ./newfs/newfs.c:#if __STDC__ ./mount_ntfs/mount_ntfs.c:#if __FreeBSD_version >= 300000 [...] how likely are the above to change. (some of them will never change, considering what branch they're on.) - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message