Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13961 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7242 invoked by uid 1010); 1 Dec 2004 04:25:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7178 invoked from network); 1 Dec 2004 04:25:19 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.247) by pb1.pair.com with SMTP; 1 Dec 2004 04:25:19 -0000 Received: by mproxy.gmail.com with SMTP id w67so299004cwb for ; Tue, 30 Nov 2004 20:25:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=d9aKfjPNc1CXOqLvCbKPXqw1v2vZHUGKz3q9VVAAHWuTQqccKO2lKdIIur6FLzJeYAA14c9kQXz4WO61AX2Ir9qN5AnYslp6p3AIQaBTmQjFMZSQwyl7uQPgiRviw2uU7cmzse9qabiNWb2cAQF7gGacKoHqzI4Yp42MZF/v1NU= Received: by 10.11.119.36 with SMTP id r36mr345190cwc; Tue, 30 Nov 2004 20:25:19 -0800 (PST) Received: by 10.11.117.42 with HTTP; Tue, 30 Nov 2004 20:25:18 -0800 (PST) Message-ID: <4e89b4260411302025c5d80aa@mail.gmail.com> Date: Tue, 30 Nov 2004 23:25:18 -0500 Reply-To: Wez Furlong To: Greg Beaver Cc: internals@lists.php.net In-Reply-To: <20041201031004.27464.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041201031004.27464.qmail@pb1.pair.com> Subject: Re: [PHP-DEV] does PHP5 do locking on PHP files that are included in a way PHP4 didn't? From: kingwez@gmail.com (Wez Furlong) It shouldn't be locking the file. Is there any chance that you have a "zombie" process that does have a lock? I noticed some weird locking behaviour like this today using a recent cygwin release (seems like bash held a lock on a directory that I had cd'ed into earlier in the day). This was totally unrelated to PHP. Are you also sure that this isn't the infamous need-to-sleep(1)-after-unlink-before-creating-a-new-file problem that has existed on Windows for while? --Wez. On Tue, 30 Nov 2004 22:10:01 -0500, Greg Beaver wrote: > Hi, > > I'm running into some race conditions with the CVS of PEAR installer in > PHP5 where it fails to remove existing php files, and locks a file so > firmly (Windows XP) that I have to reboot to get the OS to loose its > grip on it. > > I'm wondering if the locking of included source files has changed from > PHP4, or if I should be looking further into the installer for the problem? > > Greg > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >