[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bin/54040: memset defunct



The following reply was made to PR bin/54040; it has been noted by GNATS.

From: "Poul-Henning Kamp" <phk_(_at_)_phk_(_dot_)_freebsd_(_dot_)_dk>
To: dirk_(_dot_)_meyer_(_at_)_dinoex_(_dot_)_sub_(_dot_)_org
Cc: FreeBSD-gnats-submit_(_at_)_freebsd_(_dot_)_org
Subject: Re: bin/54040: memset defunct 
Date: Wed, 02 Jul 2003 21:15:24 +0200

 In message <200307021841_(_dot_)_h62IftnB061819_(_at_)_home_(_dot_)_dinoex_(_dot_)_sub_(_dot_)_de>, dirk_(_dot_)_meyer_(_at_)_dinoex_(_dot_)_
 sub.org writes:
 
 >        memset(amap, j, 0);
 
 try memset(amap, 0, j) instead.
 
 -- 
 Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
 phk_(_at_)_FreeBSD_(_dot_)_ORG         | TCP/IP since RFC 956
 FreeBSD committer       | BSD since 4.3-tahoe    
 Never attribute to malice what can adequately be explained by incompetence.

Visit your host, monkey.org