[patch] Re: HAL and hotplugging
daniel at fooishbar.org
Sun Mar 16 15:26:00 PDT 2008
On Sun, Mar 16, 2008 at 03:04:47PM -0700, Wichmann, Mats D wrote:
> >> Also, I know strncasecmp isn't standard.. and I used it. Is that an
> >> issue?
> > When we hit a platform that doesn't have it, we can steal the BSD
> > libc's implementation. Until then, I wouldn't really worry -- I
> > guess, just add a configure check that looks for it and bombs out if
> > not.
> configure checks are good, but strncasecmp is pretty "standard" by
> most measures of the word. It's been in POSIX for well over a decade
> and appeared in the initial Single Unix Specification which is
> something like 1994 vintage.
Yeah, but we've had real-life platforms without strcasecmp, let alone
strncasecmp. So if we just put a configure check in, then it bombs then
and there, instead of a mysterious compile failure. Everyone wins!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the xorg