void *buf;
sha1_buffer(data, len, hash);
-
existing_lte = __lookup_resource(lookup_table, hash);
-
if (existing_lte) {
wimlib_assert(wim_resource_size(existing_lte) == len);
lte = existing_lte;
lte->refcnt++;
} else {
- void *buf;
-
lte = new_lookup_table_entry();
if (!lte)
return WIMLIB_ERR_NOMEM;
if (*p == '/')
#endif
{
+ #ifdef __WIN32__
+ *p = cpu_to_le16(0xfffd);
+ #else
+ *p = '?';
+ #endif
if (name) {
WARNING("File, directory, or stream name \"%"WS"\"\n"
" contains forbidden characters; "
- "replacing them with Unicode codepoint U+001A",
+ "substituting replacement characters.",
name);
name = NULL;
}
- *p = 0x1a;
}
}
}