[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix #1109 by removing directory when an error

From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix #1109 by removing directory when an error occurs during chicken-install -r
Date: Sun, 3 Aug 2014 21:26:03 +0200
User-agent: Mutt/

Hi all,

Here's a pretty simple patch for #1109.  This simply catches any
exceptions that occur during retrieval of http locations (it already
handles svn and local files differently: there it checks first whether
the source exists before creating the target dir), and then removes
the directory if it didn't exist initially.

As is our rule, I removed the square parens so the patch is a little
bigger than it strictly speaking has to be.  I also rewrote the let and
let-values stuff to a simpler receive/let* combination.


Attachment: 0001-Fix-1109-chicken-install-r-should-remove-empty-direc.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]