Paolo Bonzini <paolo.bonzini@xxxxxxxxxxx> writes: > Actually ISTR that %n is not counted in the return value and that's why I wrote the code this way. Yes, that is correct. Some C lib implementations seem to count %n and others don't so it is not reliable. That is one of the reasons I personally have stayed away from fancier sscanf() constructs, both inside and outside git project. - 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