umlaeute / v4l2loopback

v4l2-loopback device
GNU General Public License v2.0
3.61k stars 515 forks source link

Use strscpy instead of strlcpy if available #569

Closed MonterraByte closed 6 months ago

MonterraByte commented 6 months ago

Linux 6.8 removed strlcpy, so using strscpy is necessary on newer kernels.

(Another way of implementing this would be to #define strlcpy strscpy, but it's not very explicit.)