delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/16/16:25:52

X-Recipient: archive-cygwin AT delorie DOT 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 AT towo DOT 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 AT cygwin DOT com
Subject: Re: [OT] "renaming file immediately after close fails" problem
References: <CAKw7uVhnrbTkz5UxUXBjgWNn-XN48Dh73bht4ft7229mmYsO0w AT mail DOT gmail DOT com>
In-Reply-To: <CAKw7uVhnrbTkz5UxUXBjgWNn-XN48Dh73bht4ft7229mmYsO0w@mail.gmail.com>
X-TagToolbar-Keys: D20120516222559470
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019