From: Morten Welinder Date: Thu, 26 Jul 2007 19:34:50 GMT Subject: Re: [PATCH] fully resolve symlinks when creating lockfiles Message-ID: <118833cc0707261234u59e30bchc274ae29569d8500@mail.gmail.com> In-Reply-To: <11854712542350-git-send-email-bradford.carl.smith@gmail.com> Why the lstat and that stat in the beginning? That's just asking for race condition. readlink will tell you if it wasn't a link, for example. Morten