Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use memcpy instead of strncpy.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 1 Jun 2018 13:41:18 +0000 (15:41 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 1 Jun 2018 13:41:18 +0000 (15:41 +0200)
commit1b20262984851a23b2e9d8c6b39b6be7a6db54bd
treec5479dc9650b2a91656860765c53aba0663059d0
parent44814aa98b9528984d327d2678dc3b59e0a3fcee
Use memcpy instead of strncpy.

Fix build error with gcc 8.1:
error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
src/xbt/RngStream.c