From owner-freebsd-current Wed Feb 6 14:58:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3AC5737B421; Wed, 6 Feb 2002 14:58:48 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 51ECF5341; Wed, 6 Feb 2002 23:58:46 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: obrien@FreeBSD.org Cc: Robert Watson , Kris Kennaway , Mark Murray , current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Not committing WARNS settings... References: <3C60EDC8.28844031@mindspring.com> <20020206092304.E96921@dragon.nuxi.com> From: Dag-Erling Smorgrav Date: 06 Feb 2002 23:58:45 +0100 In-Reply-To: <20020206092304.E96921@dragon.nuxi.com> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" writes: > Well... it would be nice if people would do CORRECT fixes. From > some things DES was saying, people are making some really stupid "fixes" > just to quite warnings. Esp. WRT const. Yes, the YP code is full of strdup()s that have no purpose other than to silence const warnings, and the allocated memory is never freed - nor is the return value from strdup() checked. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message