Skip site navigation (1)Skip section navigation (2)
Date:      06 Feb 2002 23:58:45 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        obrien@FreeBSD.org
Cc:        Robert Watson <rwatson@FreeBSD.org>, Kris Kennaway <kris@FreeBSD.org>, Mark Murray <markm@FreeBSD.org>, current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: Not committing WARNS settings...
Message-ID:  <xzpzo2m5iai.fsf@flood.ping.uio.no>
In-Reply-To: <20020206092304.E96921@dragon.nuxi.com>
References:  <3C60EDC8.28844031@mindspring.com> <Pine.NEB.3.96L.1020206082002.67775D-100000@fledge.watson.org> <20020206092304.E96921@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpzo2m5iai.fsf>