On 23 Aug 2009, George Spelvin wrote: > > Use the min() macro. > > Um... why? I prefer the asymmetrical form when there is an exceptional > condition. I find it easier to follow the "normal flow" when it's a > subset of the lines, rather than having to pick lines apart. > > I agree it would be shorter to write: > > unsigned slen = min(strlen(s), 126); > > and don't really object, I'm just curious. I guess it's just a matter of taste. I have been known to do it both ways. Have you checked to see which generates smaller object code? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html