Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57641 invoked by uid 1010); 5 Apr 2007 10:47:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57625 invoked from network); 5 Apr 2007 10:47:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Apr 2007 10:47:26 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.92.171 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.92.171 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.171] ([66.249.92.171:44832] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/69-57574-BB3D4164 for ; Thu, 05 Apr 2007 06:47:24 -0400 Received: by ug-out-1314.google.com with SMTP id o4so989512uge for ; Thu, 05 Apr 2007 03:47:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YWasL9UXG030VaK8LhHB4L1xnfV3vCVJF7TqtA/Ye+5brao1x/GRNv/IK4kdIWTpmzoKHaIboqYEX1dUB3hU79k7MZciVXKYegEdAHg1cRN4rZV/KXGpRpng5yXXnlCD9Qg3Xhg7rMSEATkeFJVKFQLIO4QtzBp+UsZRFIVOtnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aOhmgFlaMLoLXEv51uZxM+oXLxDx/K2PG1Cnah0M1cNbJ88Sl64tnFTCANY0+aev+m1cLV/T1PgW9C7xHFdI42+FxrL4kOqR5L288iH21ViY+5qu+lRgb73N1NDmoj0qYBKXWYsc7yY9QX3yOGyHdaq/KI4CzAzZEGMAzprFa4Y= Received: by 10.78.17.1 with SMTP id 1mr271610huq.1175770040313; Thu, 05 Apr 2007 03:47:20 -0700 (PDT) Received: by 10.78.75.16 with HTTP; Thu, 5 Apr 2007 03:47:20 -0700 (PDT) Message-ID: <10845a340704050347k1507ec37qd6b243206aa13ba4@mail.gmail.com> Date: Thu, 5 Apr 2007 11:47:20 +0100 Reply-To: RQuadling@GoogleMail.com To: "Rasmus Lerdorf" Cc: "Matt Wilmas" , internals@lists.php.net In-Reply-To: <46148933.7030709@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <007b01c77735$89410420$0201a8c0@pc1> <46148933.7030709@lerdorf.com> Subject: Re: [PHP-DEV] Build failure From: rquadling@googlemail.com ("Richard Quadling") http://rquadling.php1h.com/main.c.diff.txt for HEAD. I don't know how to patch a specific version. On 05/04/07, Rasmus Lerdorf wrote: > Matt Wilmas wrote: > > Hi, > > > > Maybe just a Windows problem if it wasn't noticed yet, but I was compiling > > the latest 5.2 snapshot and got: > > > > main.obj : error LNK2019: unresolved external symbol _php_flock referenced > > in function _php_log_err > > Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals > > > > Caused by this recent commit, http://news.php.net/php.cvs/43683, and I > > commented the php_flock line as a workaround. The Windows 5.2 snapshots > > haven't been updated because of this either, of course. > > I see no reason for that lock at all as I commented when this was > committed, but Ilia never replied. This is a single write operation now > since those fprintf's are now one, so that part of the fix is good, but > the lock call is not needed since single writes in append mode are > atomic, even on Windows. > > So, your work around is fine and should actually be committed. > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"