[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #556: setup-api.scm's `write-info' doesn't check for
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #556: setup-api.scm's `write-info' doesn't check for setup-info's directory existence before writing it |
Date: |
Mon, 04 Apr 2011 13:32:47 -0000 |
#556: setup-api.scm's `write-info' doesn't check for setup-info's directory
existence before writing it
------------------------------------------------------------------------+---
Reporter: mario |
Owner: felix
Type: defect |
Status: new
Priority: major |
Milestone: 4.7.0
Component: core libraries |
Version: 4.6.x
Keywords: setup-api.scm, write-info, install-extension, setup-helper |
------------------------------------------------------------------------+---
Usually {{{PREFIX/lib/chicken/BINVERSION}}} exists when {{{write-info}}}
is called, but there are certain corner cases (e.g., [http://wiki.call-
cc.org/egg/setup-helper setup-helper] on cross environments) which make
{{{write-info}}} fail on trying to write to a file in a directory which
has not been created.
The corner case triggered by setup-helper is that it doesn't contain any
file to be installed on {{{PREFIX/lib/chicken/BINVERSION}}} besides the
setup-info.
The attached patch fixes the problem by making {{{write-info}}} call
{{{ensure-directory}}} before actually writing the setup-info file.
--
Ticket URL: <http://209.172.49.67/ticket/556>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #556: setup-api.scm's `write-info' doesn't check for setup-info's directory existence before writing it,
Chicken Trac <=