Bugzilla – Bug 455
Confusing #includedir syntax.
Last modified: 2020-07-01 09:10:47 MDT
I was confused by the syntax of the #includedir directive the first time I saw it. It seems less than ideal to make a directive that starts with the comment character. I understand the need to distinguish includedir from user names but if we use a C-like directive perhaps we should use C-like comments too. Or maybe pick a different character? Please consider it if it isn't too much work. Thanks!
I tripped over the same thing, trying to uncomment the includedir line, only to receive an error message.. Not an especially fortunate choice of syntax.
Sudo 1.9.1 supports @include and @includedir. The manual and examples have been updated to prefer the @include syntax, though #include is still supported.