FreeBSD Bugzilla – Attachment 244309 Details for
Bug 273310
www/ungoogled-chromium: undefined MFD_CLOEXEC targeting 12.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc
patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc (text/plain), 1.05 KB, created by
Robert Nagy
on 2023-08-24 09:09:42 UTC
(
hide
)
Description:
patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc
Filename:
MIME Type:
Creator:
Robert Nagy
Created:
2023-08-24 09:09:42 UTC
Size:
1.05 KB
patch
obsolete
>--- ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc.orig 2023-08-24 09:08:37 UTC >+++ ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc >@@ -224,6 +224,10 @@ void ZWPTextInputWrapperV1::SetSurroundingText( > // so if it exceeds 16 bits, it may be broken. > static constexpr size_t kSizeLimit = 60000; > if (HasAdvancedSurroundingTextSupport() && text.length() > kSizeLimit) { >+#if defined(__FreeBSD_version) && __FreeBSD_version < 1300048 >+ PLOG(ERROR) << "memfd is not supported" >+ return; >+#else > base::ScopedFD memfd(memfd_create("surrounding_text", MFD_CLOEXEC)); > if (!memfd.get()) { > PLOG(ERROR) << "Failed to create memfd"; >@@ -236,6 +240,7 @@ void ZWPTextInputWrapperV1::SetSurroundingText( > zcr_extended_text_input_v1_set_large_surrounding_text( > extended_obj_.get(), memfd.get(), text.length(), > selection_range.start(), selection_range.end()); >+#endif > } else { > zwp_text_input_v1_set_surrounding_text(obj_.get(), text.c_str(), > selection_range.start(),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273310
: 244309