﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
556	setup-api.scm's `write-info' doesn't check for setup-info's directory existence before writing it	Mario Domenech Goulart	felix winkelmann	"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."	defect	closed	major	4.9.0	core libraries	4.6.x	fixed	setup-api.scm, write-info, install-extension, setup-helper		
