(full_path_nchars - args->wim_source_path_nchars) + 1];
p = output_path;
- /*print_dentry(dentry, NULL);*/
- /*ERROR("%"TS" %"TS, args->target, dentry->_full_path);*/
- /*ERROR("");*/
-
tmemcpy(p, args->target, args->target_nchars);
p += args->target_nchars;
static u8 *
-write_lookup_table_entry(struct wim_lookup_table_entry *lte, u8 *buf_p)
+write_lookup_table_entry(const struct wim_lookup_table_entry *lte, u8 *buf_p)
{
buf_p = put_resource_entry(buf_p, <e->output_resource_entry);
buf_p = put_u16(buf_p, lte->part_number);
ret = tstat(output_path, &stbuf);
if (ret == 0) {
if (S_ISDIR(stbuf.st_mode)) {
- /*if (!is_root)*/
- /*WARNING("`%s' already exists", output_path);*/
goto dir_exists;
} else {
ERROR("`%"TS"' is not a directory", output_path);