Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Milter-greylist-4.1.10 segfaults on regular expressions

2009-02-05 by Greg Troxel

I was just wondering because bzero()'s purpose is
specifically to fill an area of memory with zeros.

It saves a few bytes in the binary and a few cycles
during execution, but it's not significant. (It's
even possible that the compiler optimizes a call
to memset(..., 0, ...) with constant 0 to bzero(),
but I'm not sure if common compilers are that smart.)

IIRC basically bzero is a BSD thing, and memset is C99, and I think nthe
NetBSD codebase has moved to memset and memcp from bzero and bcopy.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.