strncpy should not be called with a "length" parameter which is based on the source string since it negates the benefits of using strncpy. this patch fixes the warning for linux, macosx and rtems Fixes #346 Change-Id: Ib2fb7637e9845545e4c15045e6be7c7ce8e0672b
Simple Open EtherCAT Master Library
BUILDING
Prerequisites for all platforms
- CMake 2.8.0 or later
Windows (Visual Studio)
- Start a Visual Studio command prompt then:
mkdir build
cd build
cmake .. -G "NMake Makefiles"
nmake
Linux & macOS
mkdir build
cd build
cmake ..
make
ERIKA Enterprise RTOS
Documentation
See https://openethercatsociety.github.io/doc/soem/
Want to contribute to SOEM or SOES?
If you want to contribute to SOEM or SOES you will need to sign a Contributor License Agreement and send it to us either by e-mail or by physical mail. More information is available in the PDF.
Description
Languages
C
99.3%
CMake
0.7%