On 29/03/2014 21:15, Reginald Beardsley wrote:
The string matching logic in sd_sdconf_id_match() in sd.c is odd and seems to
cause a good bit of confusion. In particular it does not conform to shell
wildcard rules which I think is what most people would expect.
Can anyone point to why the current syntax and semantics were chosen?
Does anyone know a reason why it should not conform to shell wildcard rules?
The alternative is full regular expressions, but that seems a bit overkill and
possibly confusing as well.
Usually done to limit the potential stack usage in the kernel, which is
a much more limited resource than in user space where RE and shell
matching are found.
--
Andrew
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss