eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
529 stars 144 forks source link

udev-rules: Fix compile errors with `-DDEBUG=1` #288

Closed bence98 closed 2 months ago

bence98 commented 2 months ago

DEBUG turns on some - apparently untested - code that causes compile errors (see linked GitHub issue). Fixing up the unfinished migration to strbufs solves this problem.

Fixes: 915bf0f60fa7 ("udev: use strbuf to store rules strings") Closes: #287