switch-coreboot/util
Myles Watson 66843bacbf This patch fixes lar path handling. In particular, it adds new members to the
file struct for pathname and compression, so that directories can be correctly
recursed.

file-by-file:

util/lar/lar.c:
	make error messages more verbose
	pass a pointer to the file structure instead of the name
	parse the name here with lar_process_name

util/lar/lib.c:
	change handle_directory to use a path name and respect nocompress
	change add_files to use pre-processed names
	use sensible defaults for new file members when listing or extracting
	free pathname if allocated	

util/lar/lib.h:
	add new members to struct file
	change prototypes of add_files and lar_add_file

util/lar/stream.c:
	change lar_add_file to use pathname and compression from struct file
	
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@623 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-02-28 14:56:43 +00:00
..
doxygen Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
dtc This started out as a trivial change and turned into a big change. This 2008-02-16 04:13:44 +00:00
kconfig This patch adds support for make defconfig in v3. Those that port v3 2008-02-07 16:50:44 +00:00
lar This patch fixes lar path handling. In particular, it adds new members to the 2008-02-28 14:56:43 +00:00
lzma This patch adds dst_len for the lar uncompress functions, enabling 2008-02-13 22:15:59 +00:00
nrv2b This patch adds dst_len for the lar uncompress functions, enabling 2008-02-13 22:15:59 +00:00
options Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
x86emu This discussion is too useful to lose. 2008-02-21 05:20:14 +00:00
xcompile Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
Makefile Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00