Subject: Re: Global variable name which equals to func name causes coredump(gcc). To: =?utf-8?B?5Y2e57uN6Zu3?= <email@example.com> From: Greg Troxel <firstname.lastname@example.org> List: tech-userlevel Date: 09/27/2007 07:49:22
Obviously fread called the wrong func address of read.
To answer if this is a bug, I think you'll need to read the C standard
very carefully. read(2) is not part of C; man 2 read says it's in POSIX.1.
But fread is part of C89.