grep bug

Stefan Farfeleder stefan at fafoe.narf.at
Mon Feb 9 06:59:30 PST 2004


On Sun, Feb 08, 2004 at 06:36:23PM -0800, Kris Kennaway wrote:
> kkenn at rot13:~ grep -r foo / > /dev/null
> grep: /dev/network: Permission denied
> grep: /dev/geom.ctl: Permission denied
> grep: /dev/devctl: Permission denied
> grep: /dev/ata: Permission denied
> grep: /dev/console: Permission denied
> grep in realloc(): error: allocation failed
> ^C^C^CAbort (core dumped)

-current aborts by default on memory allocation failures, you have to
set the 'a' flag via MALLOC_OPTIONS or /etc/malloc.conf.

Cheers,
Stefan


More information about the freebsd-current mailing list