qt6_base: fix attach() for QSharedMemory (add B_CLONABLE_AREA flag)

This commit is contained in:
Gerasim Troeglazov
2022-06-07 18:12:42 +10:00
parent 1463cb1b91
commit 8524808a03
2 changed files with 2 additions and 2 deletions

View File

@@ -914,7 +914,7 @@ index 0000000..469b81c
+ }
+
+ hand = create_area(areaName.toUtf8().constData(), &memory, B_ANY_ADDRESS, size,
+ B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
+ B_NO_LOCK, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA);
+
+ if (hand <= B_ERROR) {
+ switch (hand) {