From owner-freebsd-audit Tue May 29 11:39:31 2001 Delivered-To: freebsd-audit@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id AA37E37B423; Tue, 29 May 2001 11:39:28 -0700 (PDT) (envelope-from mike@q9media.com) Received: from [192.168.1.10] (vega.tct.net [216.94.230.13]) by coffee.q9media.com (8.11.2/8.11.2) with ESMTP id f4TIlrL84631; Tue, 29 May 2001 14:47:53 -0400 (EDT) (envelope-from mike@q9media.com) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Tue, 29 May 2001 14:39:22 -0400 Subject: whois(1) patch From: Mike Barcroft To: Cc: Message-ID: Mime-version: 1.0 Organization: q9 media Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Please review the patch at the following URL: http://testbed.q9media.net/freebsd/whois.patch It does the following: o Silence warnings and set WARNS=2 o Fix two memory leaks o asprint -> strdup where appropriate o calloc/strcpy/strcat -> aprintf o Convert to ANSI C to avoid having to prototype main() Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message