Petr Baudis <pasky@xxxxxxx> writes: > Dear diary, on Wed, Jun 28, 2006 at 06:56:12PM CEST, I got a letter > where Morten Welinder <mwelinder@xxxxxxxxx> said that... >> It looks like connect.c waits too long before it uses errno in both copies >> of git_tcp_connect_sock. Both close and freeaddrinfo can poke any >> non-zero value in there. > > Nice catch. > > ->8- > > errno was used after it could've been modified by a subsequent library call. > Spotted by Morten Welinder. > > Signed-off-by: Petr Baudis <pasky@xxxxxxx> Thanks. - : 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