dostools flag

This commit is contained in:
Mario Fetka
2026-05-23 22:47:18 +02:00
parent 6c41e67542
commit 4d1cd7f96e

View File

@@ -269,7 +269,7 @@ int c32_ncp87_modify_dos_attributes(char *name,
*p++ = 0; /* namespace DOS */
*p++ = 0; /* reserved */
c32_put_word_lh(p, 0x0006); p += 2; /* SA_ALL */
c32_put_dword_lh(p, 0x00000004UL); p += 4; /* modify mask: attributes */
c32_put_dword_lh(p, 0x00000002UL); p += 4; /* DM_ATTRIBUTES: attributes */
c32_put_dword_lh(p, attrs); p += 4; /* Attributes */
memset(p, 0, 34); p += 34; /* rest of DOS info */