numam-dpdk/lib/eal
Thomas Monjalon dbba7c9efb eal: save error in string copy
The string copy api rte_strscpy() did not set rte_errno during failures,
instead it just returned negative error number.

Set rte_errrno if the destination buffer is too small.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-07-05 15:11:30 +02:00
..
arm eal/arm: remove unused type 2021-07-05 09:50:51 +02:00
common eal: save error in string copy 2021-07-05 15:11:30 +02:00
freebsd eal: add timespec_get shim 2021-04-21 23:32:13 +02:00
include eal: save error in string copy 2021-07-05 15:11:30 +02:00
linux lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ppc lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
unix eal: fix memory mapping on 32-bit target 2021-05-11 23:01:06 +02:00
windows eal/windows: cleanup interrupt resources 2021-06-23 09:05:36 +02:00
x86 lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00