HomePhabricator

[lldb] Fix -Wstringop-truncation in PythonReadline.cpp

Authored by labath on Dec 21 2019, 2:33 AM.

Description

[lldb] Fix -Wstringop-truncation in PythonReadline.cpp

The size is known and the truncation is deliberate -- use memcpy instead
of strncpy.

Details

Committed
labathDec 21 2019, 2:35 AM
Parents
rG4706a60e8a07: [lldb] [testsuite] Fix Linux fail: Unwind/thread-step-out-ret-addr-check.test
Branches
Unknown
Tags
Unknown