X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4FB40D57.1050405@towo.net>
Date: Wed, 16 May 2012 22:25:59 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [OT] "renaming file immediately after close fails" problem
References: <CAKw7uVhnrbTkz5UxUXBjgWNn-XN48Dh73bht4ft7229mmYsO0w@mail.gmail.com>
In-Reply-To: <CAKw7uVhnrbTkz5UxUXBjgWNn-XN48Dh73bht4ft7229mmYsO0w@mail.gmail.com>
X-TagToolbar-Keys: D20120516222559470
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Am 16.05.2012 12:46, schrieb Václav Zeman:
> Hi.
>
> This is unrelated to Cygwin directly. I am having problems in my
> library that renaming files sometimes fails right after the file is
> closed. I vaguely remember seeing same or similar problems being
> discussed in this mailing list but I cannot find the emails. Could any
> of you remember discussions about this problem and its conclusions?
>
Just an idea: did you set any O_NDELAY or O_NONBLOCK flag on the file?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

