This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rm prints no errmsg if _unlink fails with errno 32


Reini Urban schrieb:
(latest cygwin release 1.5.10-3 and fileutils-4.1-2)
rm printed no errmsg if _unlink failed with errno 32.

Pierre ping?


Should I patch it by myself? But I don't know where.
The syscall fails, but is not responsible for any errormessage to STDERR.
And rm gets a wrong status code, because the delete was queued, and fails later.


I'd rather prefer _unlink() returning an errcode on a sharing violation.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]