Apply patch: ncpfs-hg-commit-431.patch
This commit is contained in:
@@ -244,7 +244,8 @@ int main(int argc, char *argv[]) {
|
||||
memset(&iii, 0xCC, sizeof(iii));
|
||||
|
||||
dserr = ncp_ns_open_create_entry(conn, destns, searchattr, NCP_DIRSTYLE_DIRBASE,
|
||||
0, 0, volume, strlen(s) + 2, -1, dowrite ? OC_MODE_CREATE | OC_MODE_TRUNCATE | OC_MODE_OPEN | OC_MODE_OPEN_64BIT_ACCESS : OC_MODE_OPEN | OC_MODE_OPEN_64BIT_ACCESS,
|
||||
0, 0, (unsigned char*)volume, strlen(s) + 2, -1,
|
||||
dowrite ? OC_MODE_CREATE | OC_MODE_TRUNCATE | OC_MODE_OPEN | OC_MODE_OPEN_64BIT_ACCESS : OC_MODE_OPEN | OC_MODE_OPEN_64BIT_ACCESS,
|
||||
0, AR_READ_ONLY|AR_WRITE_ONLY, RIM_ALL,
|
||||
&iii, sizeof(iii), NULL, NULL, fh);
|
||||
if (dserr) {
|
||||
|
||||
Reference in New Issue
Block a user