On Dec 29, 2007 8:22 PM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > > Not only does it avoid the strlen() call also for longer prefixes; > it also avoids a C++ comment. > Avoiding a C++ comment is good ;-) sorry, it slipped to me. What your patch does not seem to avoid is a segfault if prefix or str are NULL pointers. Marco - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html