On Sun, Jan 20, 2013 at 17:14:12 +0100, Max Kellermann wrote: > - slightly disagree with Ben (but thanks for pointing out that > potential problem): there should be some way to specify whether > symbolic links shall be followed. Some callers may want to follow > symlinks, some do not, and the database update has that configurable > at runtime.
Maybe have a CheckFileExists (stat) and a CheckPathExists (lstat)? --Ben ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team