This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Simplify perturb_byte logic.
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Mon, 09 Dec 2013 08:03:47 -0800
- Subject: Re: [PATCH] Simplify perturb_byte logic.
- Authentication-results: sourceware.org; auth=none
- References: <20131209141613 dot GA15247 at domone dot podge>
OndÅej BÃlka wrote:
> + memset (p, perturb_byte & 0xff, n);
While you're simplifying, you can safely omit that '& 0xff'.
Similarly for alloc_perturb.