Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
itpp
itpp-4.3.1_memmove.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File itpp-4.3.1_memmove.patch of Package itpp
diff -U 3 -H -d -r -N -- itpp-4.3.1.orig/itpp/comm/multilateration.cpp itpp-4.3.1/itpp/comm/multilateration.cpp --- itpp-4.3.1.orig/itpp/comm/multilateration.cpp 2013-07-06 12:11:56.000000000 +0300 +++ itpp-4.3.1/itpp/comm/multilateration.cpp 2014-11-01 05:00:34.135502549 +0300 @@ -87,7 +87,7 @@ for(unsigned int i = 0; i < size_; ++i) { if(data_[i] == elem) { if((i + 1) < size_) { - memcpy(data_ + i, data_ + i + 1, (size_ - i - 1)*sizeof(*data_)); + memmove(data_+i, data_+i+1, (size_ - i - 1)*sizeof(*data_)); } --size_; res = true;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor