Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: warn on "hard" hard link failure



On Tue, Mar 10, 2009 at 02:18:41PM +0000, Peter Stephenson wrote:
> This is reponse to Sourceforge issue 1968395: failures to create hard
> links aren't gracefully handled.  Failing to create a link because the
> file already exists is the normal condition being handled by the locking
> code; however, a failure for any other reason is presumably a hard
> failure worthy of reporting.  The same goes if stat() fails with
> anything other than ENOENT: in both cases we give up and should say so.
> 
> It's possible this can be improved further.

Apparently this has caused someone distress because of the hard failure
preventing the correction of the out-of-diskspace condition causing the
history failure.



Messages sorted by: Reverse Date, Date, Thread, Author