dostools flag
This commit is contained in:
2
c32ncp.c
2
c32ncp.c
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user