Module Name:    src
Committed By:   mrg
Date:           Thu Jun  9 07:38:45 UTC 2016

Modified Files:
        src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
            sanitizer_platform_limits_posix.h

Log Message:
add netbsd padding to 'struct addrinfo' copy.

eeew, this is really horrible


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
diff -u src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1.3 src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1.4
--- src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1.3	Thu Jun  2 19:54:38 2016
+++ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h	Thu Jun  9 07:38:45 2016
@@ -668,7 +668,13 @@ namespace __sanitizer {
     int ai_socktype;
     int ai_protocol;
 #if SANITIZER_ANDROID || SANITIZER_MAC || SANITIZER_FREEBSD || SANITIZER_NETBSD
+#if SANITIZER_NETBSD && defined(__sparc__) && defined(_LP64)
+    int __ai_pad0;
+#endif
     unsigned ai_addrlen;
+#if SANITIZER_NETBSD && defined(__alpha__) || (defined(__i386__) && defined(_LP64))
+    int __ai_pad0;
+#endif
     char *ai_canonname;
     void *ai_addr;
 #else // LINUX

Reply via email to