Re: [exim] dsearch produces "stat failed"

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Magnus Holmgren
Data:  
Para: exim-users
Asunto: Re: [exim] dsearch produces "stat failed"
On Saturday 19 May 2007 16:44, Peter Thomassen wrote:
> The code (/src/lookups/dsearch.c) says that stat() is used because the OS
> scans the directory faster than Exim could. And strangely, I can only find
> a stat() call (and not an lstat() call), but the behaviour is like lstat().


From my reading of lstat(2), it's the other way around. lstat() stats the link
itself, whereas stat() follows the link. Thus, what you want *is* lstat().

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)