delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Wed, 1 Dec 2004 09:56:14 -0500 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: truncate() improperly returns EBADF |
Message-ID: | <20041201145614.GB13804@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
References: | <20041201084841 DOT GA2356 AT efn DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <20041201084841.GA2356@efn.org> |
User-Agent: | Mutt/1.4.1i |
On Wed, Dec 01, 2004 at 12:48:41AM -0800, Yitzchak Scott-Thoennes wrote: >When using truncate(), EBADF is sometimes improperly returned. susv3 >doesn't list this as a possible errno value for this function. In >particular, ENOENT should be returned when when path doesn't exist and >EACCES when write permission is denied. Thanks for the test case. I've checked in a fix which should rectify this behavior. It will be in the next snapshot. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |