[exim-dev] [Bug 503] dsearch: use lstat() instead of stat()

Top Page
Delete this message
Reply to this message
Author: bug503
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 503] dsearch: use lstat() instead of stat()
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=503


exim@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |exim@???





------- Comment #2 from exim@??? 2007-05-31 08:42 -------
Given that when I originally wrote the dirsearch thing for exim3 I did it as a
readdir, I think that doing an lstat is entirely reasonable.

Bear in mind that in dsearch, you're checking for the name existing in that
directory in general, so dangling symlinks don't seem like a problem to me.

I'd vote for changing it.

Cheers

MBM

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email