diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | defines.h | 8 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20010104 | ||
2 | - (djm) Fix memory leak on systems with BROKEN_GETADDRINFO. Based on | ||
3 | work by Chris Vaughan <vaughan99@yahoo.com> | ||
4 | |||
1 | 20010103 | 5 | 20010103 |
2 | - (bal) fixed up sshconnect.c so it was closer inline with the OpenBSD | 6 | - (bal) fixed up sshconnect.c so it was closer inline with the OpenBSD |
3 | tree (mainly positioning) | 7 | tree (mainly positioning) |
@@ -348,7 +348,13 @@ struct winsize { | |||
348 | 348 | ||
349 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) | 349 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) |
350 | # undef HAVE_GETADDRINFO | 350 | # undef HAVE_GETADDRINFO |
351 | #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ | 351 | #endif |
352 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_FREEADDRINFO) | ||
353 | # undef HAVE_FREEADDRINFO | ||
354 | #endif | ||
355 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GAI_STRERROR) | ||
356 | # undef HAVE_GAI_STRERROR | ||
357 | #endif | ||
352 | 358 | ||
353 | #if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) | 359 | #if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) |
354 | # define memmove(s1, s2, n) bcopy((s2), (s1), (n)) | 360 | # define memmove(s1, s2, n) bcopy((s2), (s1), (n)) |