dostools flag
This commit is contained in:
13
flag.c
13
flag.c
@@ -176,6 +176,19 @@ static int flag_ncp87_modify_attrs(char *name, uint32 attrs)
|
||||
if (flag_current_dhandle(&dhandle))
|
||||
return(-1);
|
||||
|
||||
/*
|
||||
* Prefer verified Client32 modify path. The old INT 21h/F257 modify path
|
||||
* can hang under DOS Client32 for high FLAG bits such as T/P/DI/RI.
|
||||
*/
|
||||
{
|
||||
uint16 actual = 0;
|
||||
uint16 hlo = 0;
|
||||
uint16 hhi = 0;
|
||||
if (!c32_ncp87_modify_dos_attributes(name, (uint16)dhandle, attrs,
|
||||
&actual, &hlo, &hhi))
|
||||
return(0);
|
||||
}
|
||||
|
||||
memset(&req, 0, sizeof(req));
|
||||
memset(&repl, 0, sizeof(repl));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user