Subject: Re: Global variable name which equals to func name causes coredump(gcc).
To: None <>
From: Valeriy E. Ushakov <>
List: tech-userlevel
Date: 09/27/2007 18:43:46
Valeriy E. Ushakov <> wrote:

> Hmm, strange.  The example works on my sh3 system where __sread calls
> _read (weak alias to _sys_read - the actual syscall), but fails as you
> described on my macppc where __sread calls read directly.

Ah, it was fixed only recently in namespace.h

revision 1.129
date: 2007/06/03 17:38:07;  author: christos;  state: Exp;  lines: +7 -1
- add read and readlink since they are used internally

SY, Uwe
--                       |       Zu Grunde kommen          |       Ist zu Grunde gehen