Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Fri, 13 Jul 2001 12:12:29 -0400 From: Jason Tishler To: Cygwin-Developers Subject: Cygwin CVS breaks PostgreSQL drop table Message-ID: <20010713121229.A402@dothill.com> Mail-Followup-To: Cygwin-Developers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i Organization: Dot Hill Systems Corp. The following commit: http://www.cygwin.com/ml/cygwin-cvs/2001-q2/msg00276.html causes PostgreSQL to hang when it tries to drop a table. Note that the hang occurs on both NT 4.0 SP5 and 2000 SP1. I did not test on 9X/Me. The specific part of the commit that causes the hang is: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.122&r2=1.123 which has the corresponding ChangeLog entry: * syscalls.cc (_unlink): Reorganize to try harder to delete file with DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE doesn't work properly. When I back out the this patch the hang is prevented. I will try to dig some more and devise a patch (if I can), but I wanted to at least give a heads up in the meantime. Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: 732.264.8770 x235 Dot Hill Systems Corp. Fax: 732.264.8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com