Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 05:13:07 +0000
From:      "J. Mallett" <jmallett@FreeBSD.ORG>
To:        "J. Mallett" <jmallett@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/find function.c src/usr.bin/finger util.c src/usr.bin/last last.c src/usr.bin/paste paste.c src/usr.bin/tset map.c src/usr.bin/tsort tsort.c
Message-ID:  <20020517051306.GA32094@FreeBSD.ORG>
In-Reply-To: <200205170511.g4H5B8731212@freefall.freebsd.org>
References:  <200205170511.g4H5B8731212@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 16, 2002 at 10:11:08PM -0700, J. Mallett wrote:
> jmallett    2002/05/16 22:11:08 PDT
> 
>   Modified files:
>     usr.bin/find         function.c 
>     usr.bin/finger       util.c 
>     usr.bin/last         last.c 
>     usr.bin/paste        paste.c 
>     usr.bin/tset         map.c 
>     usr.bin/tsort        tsort.c 
>   Log:
>   Clean up malloc(3)'s argument.  Remove casts which do nothing when we're
>   using sizeof() anyway.  Use slightly more consistent (per-file) error
>   reporting for malloc(3) returning NULL.  If "malloc failed" was being printed,
>   don't use err(3).  If a NULL format is being used, use err(3).  In one case
>   errx(3) was being used with strerror(3), so just use err(3).

I checked these with WARNS=4 on ref5 and beast.
-- 
jmallett@FreeBSD.org   | C, MIPS, POSIX, UNIX, BSD, IRC Geek.
http://www.FreeBSD.org | The Power to Serve
Vote for me for FreeBSD core or the cute little bunny gets it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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