Yegor YefremovandMarc Kleine-Budde c7aa0b7051 slcanpty: declare command buffer static
ASCII command buffer char buf[200] must be declared as static,
because it holds incomplete commands between pty2can() calls.
Without static it is not guaranteed, that buf retains the same
data between calls.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-01-16 16:31:50 +01:00
2010-04-19 12:12:18 +00:00
2012-01-11 12:14:15 +01:00
2013-07-10 11:04:40 +02:00
2010-04-19 12:12:18 +00:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
S
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C 98.1%
CMake 0.7%
Makefile 0.6%
Shell 0.5%