From nobody Thu Apr 25 12:00:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1565269732; cv=none; d=zoho.com; s=zohoarc; b=BmbC50+QSAkCV3kj0qE3bSpRFf7C9dQHzYl++XtqtdenQpw5zKv6zTE/r4YnpM3MXhNM3d6y90NhY82YtTVIIitI06Xfr2SrNe4rn2sO3IkBZMv4l1jm6aTljvLgAnyquW5LQgi/D+Ntrrr3nJPs2KHtnyeCWEBStONzKMh0uC0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565269732; h=Content-Type:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=YjTP+i5DmYvpbP/hCQeleaRcbE2QHSXVrJ6iK2TPwU4=; b=SaKpPPnmGzSCM1v2pQn0HKYaSkcXe+wDWbJZgBByVCOu9GKuHNSqBzrDAFhw/siWDzYFNJG1KpIU0eTtjq0KmG/WOOK+U5fgu/0ISYBOJVANi0Mny6LvWuCnnRMXVAS3tgNKvRXHXOhA91t6ATQBqQrJa4NHdieDbxGhVOpMtFw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 156526973262890.2465499460825; Thu, 8 Aug 2019 06:08:52 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ED47F81F31; Thu, 8 Aug 2019 13:08:50 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3CE8960BE1; Thu, 8 Aug 2019 13:08:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 75A002551C; Thu, 8 Aug 2019 13:08:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x78D8lJi005064 for ; Thu, 8 Aug 2019 09:08:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id AD6C9600CC; Thu, 8 Aug 2019 13:08:47 +0000 (UTC) Received: from [10.3.116.93] (ovpn-116-93.phx2.redhat.com [10.3.116.93]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5AD46600C8 for ; Thu, 8 Aug 2019 13:08:45 +0000 (UTC) From: Eric Blake To: libvirt-list@redhat.com Openpgp: preference=signencrypt Autocrypt: addr=eblake@redhat.com; keydata= xsBNBEvHyWwBCACw7DwsQIh0kAbUXyqhfiKAKOTVu6OiMGffw2w90Ggrp4bdVKmCaEXlrVLU xphBM8mb+wsFkU+pq9YR621WXo9REYVIl0FxKeQo9dyQBZ/XvmUMka4NOmHtFg74nvkpJFCD TUNzmqfcjdKhfFV0d7P/ixKQeZr2WP1xMcjmAQY5YvQ2lUoHP43m8TtpB1LkjyYBCodd+LkV GmCx2Bop1LSblbvbrOm2bKpZdBPjncRNob73eTpIXEutvEaHH72LzpzksfcKM+M18cyRH+nP sAd98xIbVjm3Jm4k4d5oQyE2HwOur+trk2EcxTgdp17QapuWPwMfhaNq3runaX7x34zhABEB AAHNHkVyaWMgQmxha2UgPGVibGFrZUByZWRoYXQuY29tPsLAegQTAQgAJAIbAwULCQgHAwUV CgkICwUWAgMBAAIeAQIXgAUCS8fL9QIZAQAKCRCnoWtKJSdDahBHCACbl/5FGkUqJ89GAjeX RjpAeJtdKhujir0iS4CMSIng7fCiGZ0fNJCpL5RpViSo03Q7l37ss+No+dJI8KtAp6ID+PMz wTJe5Egtv/KGUKSDvOLYJ9WIIbftEObekP+GBpWP2+KbpADsc7EsNd70sYxExD3liwVJYqLc Rw7so1PEIFp+Ni9A1DrBR5NaJBnno2PHzHPTS9nmZVYm/4I32qkLXOcdX0XElO8VPDoVobG6 gELf4v/vIImdmxLh/w5WctUpBhWWIfQDvSOW2VZDOihm7pzhQodr3QP/GDLfpK6wI7exeu3P pfPtqwa06s1pae3ad13mZGzkBdNKs1HEm8x6zsBNBEvHyWwBCADGkMFzFjmmyqAEn5D+Mt4P zPdO8NatsDw8Qit3Rmzu+kUygxyYbz52ZO40WUu7EgQ5kDTOeRPnTOd7awWDQcl1gGBXgrkR pAlQ0l0ReO57Q0eglFydLMi5bkwYhfY+TwDPMh3aOP5qBXkm4qIYSsxb8A+i00P72AqFb9Q7 3weG/flxSPApLYQE5qWGSXjOkXJv42NGS6o6gd4RmD6Ap5e8ACo1lSMPfTpGzXlt4aRkBfvb NCfNsQikLZzFYDLbQgKBA33BDeV6vNJ9Cj0SgEGOkYyed4I6AbU0kIy1hHAm1r6+sAnEdIKj cHi3xWH/UPrZW5flM8Kqo14OTDkI9EtlABEBAAHCwF8EGAEIAAkFAkvHyWwCGwwACgkQp6Fr SiUnQ2q03wgAmRFGDeXzc58NX0NrDijUu0zx3Lns/qZ9VrkSWbNZBFjpWKaeL1fdVeE4TDGm I5mRRIsStjQzc2R9b+2VBUhlAqY1nAiBDv0Qnt+9cLiuEICeUwlyl42YdwpmY0ELcy5+u6wz mK/jxrYOpzXKDwLq5k4X+hmGuSNWWAN3gHiJqmJZPkhFPUIozZUCeEc76pS/IUN72NfprZmF Dp6/QDjDFtfS39bHSWXKVZUbqaMPqlj/z6Ugk027/3GUjHHr8WkeL1ezWepYDY7WSoXwfoAL 2UXYsMAr/uUncSKlfjvArhsej0S4zbqim2ZY6S8aRWw94J3bSvJR+Nwbs34GPTD4Pg== Organization: Red Hat, Inc. Message-ID: Date: Thu, 8 Aug 2019 08:08:44 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] configmake: Avoid namespace pollution issue on mingw. X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4850545001263073769==" Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 08 Aug 2019 13:08:51 +0000 (UTC) X-Zoho-Virus-Status: 1 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4850545001263073769== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WCifGn0MNEEZMWVz2eNMklcqC6KZhzvpb" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WCifGn0MNEEZMWVz2eNMklcqC6KZhzvpb Content-Type: multipart/mixed; boundary="CEbakX3XHHNDazQbvTW0cXL0WNdzuKKPA"; protected-headers="v1" From: Eric Blake To: libvirt-list@redhat.com Message-ID: Subject: [PATCH] configmake: Avoid namespace pollution issue on mingw. --CEbakX3XHHNDazQbvTW0cXL0WNdzuKKPA Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Mingw includes a header that declares a struct typedef named DATADIR, pulled in when including ; compilation fails if DATADIR has already been defined as a macro expanding to a string prior to that inclusion. Although the configmake module documents that it should generally be included only after system headers, it is just as easy to make configmake.h robust to this particular issue by including the system header first if it exists. * modules/configmake (Makefile.am): If the project uses , include that header before defining DATADIR. Reported by libvirt: https://lists.gnu.org/archive/html/bug-gnulib/2019-07/msg00089.html --- I'm pushing this under the gnulib maintenance rule, while working on a further gnulib change to make configmake.h nicer on mingw. Lots of gnulib changes in the last 8 months: c8e2eee54 mbrtowc tests: Fix regression on mingw (regression from 2018-02-24). 9f00cc0d8 pthread-h: Fix definitions of types and macros on mingw. d6f9e7e3b autoupdate f9221bccc crypto/gc: Cope with libgcrypt without SM3. 28813cfe4 backupfile: fix resource leak on memory failure 2511ab606 Avoid missing-declarations warning in various tests. 059457123 pthread tests: Avoid missing-declarations warning. 3e75e00c4 parse-datetime: Avoid warnings from bison versions >=3D 3.3. 56d28ccbb parse-datetime: Require Bison 2.4 or newer. c01635497 areadlink-with-size, xgethostname, xgetdomainname: Fix GCC warning. e6aaa7672 parse-datetime: avoid "%pure-parser" deprecation warning from Bison 3.4 b5a9fa677 update-copyright: Make it work again (regression from 2019-06-1= 5). d60d9c026 doc: Update info about . 02c673092 pthread_sigmask tests: Use new multithread modules. 3fabe95a0 pthread-tss: Add tests. 6fc3895e9 pthread-cond: Add tests. 16a69219c pthread-rwlock: Add tests. 243f6dbf6 pthread-mutex: Add tests. da2524b31 pthread-once: Add tests. f80da10b7 pthread-thread: Add tests. e7b9404a9 pthread: Turn into a convenience module. 2d853e8b4 pthread-spin: New module. 672c3be2f pthread-tss: New module. e08989ca1 pthread-cond: New module. 0473a3ccc pthread-rwlock: New module. e09ceafdb pthread-mutex: New module. 222a7e6cb pthread-once: New module. fdff0fd12 pthread-thread: New module. 2d8599e9d pthread-h: Prepare for adding new modules. 79e228295 pthread-h: Add declarations of essential pthread functions. 9d925a90f pthread-h: Respect --enable-threads=3D{posix|windows} option on= mingw. fba5fd392 pthread-h: Add C++ tests. 30e64672a pthread-h: Add tests. c1c1d4f62 pthread-h: New module. 3fdb19cf7 sched_yield: New module. f76440c5c windows-spin: New module. 306452e7d windows-timedrwlock: New module. 72f60af8e windows-rwlock: New module. 6f520fb1d windows-thread: Add support for creating a thread in detached state. f249808ba windows-*: Rename glwthread_spinlock_t to glwthread_initguard_t= =2E 4af8b82e7 doc: Fix info about pthread API in HP-UX. 26ac95025 Fix typo in comment. 323b506f5 threads-h: Fix generation of threads.h. b417a9c02 striconveh test: Fix a compilation failure when iconv is not available. ee77e5c1f argmatch: adjust columns for help2man. b979980a6 areadlink-with-size: avoid realloc when size=3D=3D0 0ccc444f3 areadlink-with-size: guess a buffer size with 0 size 32a64c671 Replace manually crafted hex regexes with [:xdigit:] 9c16aa292 error: Fix documentation. 72d255bd3 autoupdate 65b63fdc9 doc: Remove documentation of glibc <=3D 2.1.x as a supported platform. 952ccf18c doc: Remove documentation of Linux libc5 as a supported platfor= m. 0c2bfb4b5 doc: Remove documentation of Linux libc5 as a supported platfor= m. 76dd681cd doc: Remove documentation of Tandem/NSK as a supported platform= =2E 5b8ebc908 doc: Remove documentation of Mac OS X <=3D 10.4 as a supported platform. 559f6b729 doc: Remove documentation of AIX 4 as a supported platform. 05cf22754 doc: Remove documentation of HP-UX 10 as a supported platform. 8689a7ffd doc: Remove documentation of Interix 3.5 as a supported platfor= m. 9f933144e doc: Remove documentation of IRIX 6.4 and older as supported platforms. 33fb97d11 doc: Remove documentation of OSF/1 as supported platform. c3566f958 doc: Remove documentation of Interix as a supported platform. 2dfd36adb doc: Remove documentation of BSDI and BSD/OS as supported platforms. 8f999c446 doc: Remove documentation of Solaris 8 and older as supported platforms. 9e7e46b0f doc: Remove documentation of Interix 3.5 as a supported platfor= m. a4b2403ab doc: Remove documentation of BeOS as a supported platform. 7ce5f5c77 thread, lock, cond, tls: Remove support for Pth threads. e58796ff7 thread, lock, cond, tls: Remove support for old Solaris threads= =2E d44241344 getcwd-lgpl, getcwd: Don't call realloc when it is pointless. ac7390ac0 xgetdomainname: Don't return an excessive memory allocation. 98802d166 xgethostname: Don't return an excessive memory allocation. 8f91b5cf3 areadlinkat-with-size: Don't return an excessive memory allocation. eb76defb1 areadlink-with-size: Don't return an excessive memory allocatio= n. d4239808e renameatu: Fix test failure on MSVC. 9ce9be2ef autoupdate d1e92798e mbrtowc: Fix invalid use of mbtowc() on MSVC. 65b3308bb argmatch: don't define _ in the header c88299602 verify: document =E2=80=98assume=E2=80=99 better ece9e261a localcharset, nl_langinfo: Fix return value for UTF-8 locales on MSVC. 3e4a348ea getcwd: Fix crash when invoked with size =3D 0 on MSVC. 7c3bb8672 nonblocking-pipe tests: Fix test failure on MSVC. 54d342c75 usleep: Implement with millisecond resolution on native Windows= =2E 77dc7fb43 lstat tests: Fix test failure on MSVC. 75b56a533 stat tests: Fix test failure on MSVC. 0b40814b8 getaddrinfo tests: Fix test failure on MSVC. d40db5e23 poll: Fix type of timeout pointer passed to select() on mingw x86_64. 9c2e22500 argmatch: Fix compilation errors. fa2256ec9 autoupdate fcd36afd1 Include when needed. 3712d6cd2 Include when needed. 8c4ec56ee inet_ntop, inet_pton: Avoid conflict with native Windows functions. 6136e9379 inet_ntop, inet_pton: Forward-compatibility with newer Windows versions. 326d9f992 inet_pton: Fix link error on mingw with _WIN32_WINNT >=3D 0x060= 0. 1d56a7919 poll: Add comment. a734086a9 poll-h: Fix compilation error on mingw with _WIN32_WINNT >=3D 0x0600. e597d4b8e accept4: Fix compilation error on OpenIndiana. c299f3dda autoupdate e0d220aa1 strverscmp: sync from glibc bacccb4e5 tss tests: Add tests for destructors and races. d1e821c9a tls tests: Add tests for destructors and races. d6bfe4796 windows-tls: Implement TLS key destructors for native Windows. 14b8ae17a threadlib: Avoid autoconf warning "was expanded before it was required". 47405621b argmatch: remove duplicate const qualifier a6e8a8612 unistd: stddef.h and sys/types.h namespace cleanup 7f7d18ebc maintainer-makefile: restore portability to non-GNU awks 232ba9230 Document setvbuf _IOLBF problem e0ddd0761 Document lseek SEEK_DATA/SEEK_HOLE 7ed70c552 autoupdate 66928dc84 autoupdate 962862267 argmatch: put all the docs member last. 5d00a2ec6 argmatch: add support to generate the usage message 13644a818 thrd: Add comment. d1cb5add4 threads-h: Define 'thread_local' if and only if it actually wor= ks. 42b99eaf2 threads-h: Small doc correction. a12c7fd18 threads-h: Define 'thread_local' if and only it actually works.= b62933398 threads-h: Simplify link dependencies. 9e6e4c033 threads-h: Fix link error on FreeBSD 11. 316b626d2 threadlib: Fix typo (regression from today). 9e2d1943b windows-thread, windows-tls: Fix compilation error on 32-bit mingw. e9d8b52d0 autoudpate 7614f78d2 tss tests: Small improvement. 0dbc0378b threads: New module. 14a5f1378 tss: Add tests. c94b90fcd cnd: Add tests. 4a440ef9b mtx: Add tests. 6ac18d06d thrd: Add tests. ee2f4139e tss: New module. 36307d84f cnd: New module. 6b4c64f06 mtx: New module. 3696a934e thrd: New module. bf6dd504c threads-h: Add tests. 80d244810 threads-h: New module. 0894f96f8 windows-thread: New module. 7435d61f2 windows-tls: New module. 7b7305f41 windows-cond: New module. f46ac2b2b windows-timedrecmutex: New module. d20c7ec39 windows-timedmutex: New module. 4570a6162 windows-recmutex: New module. 2535ce3ac windows-mutex: New module. 6c3d118e8 windows-once: New module. 7078fef39 lock, cond: Avoid possible counter wraparound on Windows. d4c0a04b4 cond: Make glthread_cond_timedwait more reliable on Windows. 145e16d89 pthread_mutex_timedlock: New module. 79c254530 thread, lock, cond, tls: Recognize C11 multithreaded applicatio= ns. 97ae53644 tls tests: Small improvements. a06d50500 cond tests: Simplify. e8d62a2ae lock tests: Avoid reference to undefined variable if !ENABLE_LOCKING. 33d1306e3 nanosleep: Relicense under LGPLv2+. a5a93a6e1 Reorder pieces of header in perl scripts. af35f056d verify-tests: work around xlc bug 36bfd5861 Restore Emacs time-stamp hook applicability. c2fdc30cf Fix comments in last commit. a05d5d121 Fix scripts to have valid executable format on Alpine Linux. 5905d8ca9 autoupdate 5dd3e60c5 nproc: Ensure nproc(NPROC_ALL) =E2=89=A5 nproc(NPROC_CURRENT) w= ith glibc =E2=89=A5 2.26. b827d8a6f posix_spawn_file_actions_addchdir: Fix possible use-after-free bug. 765146c33 posix_spawn_file_actions_addopen: Fix possible use-after-free b= ug. fbb40ec10 posix_spawn_file_actions_addfchdir: Add tests. d822de87e posix_spawn_file_actions_addfchdir: New module. 2ad7a33b8 doc: Document existence of posix_spawn_file_actions_addchdir module. 57dd928ae posix_spawn-internal: Fix module description. 1a329ffba doc: Update and improve documentation of glibc functions. 738720729 doc: Mark functions which exist only on Linux and illumos. b53046a95 doc: Mark functions which exist only on Linux. 741078f98 doc: Some glibc functions also exist on Haiku. 9619fa386 doc: Some glibc functions also exist on BeOS. 16f5083a5 doc: Some glibc functions also exist on FreeBSD. 83b662fd0 doc: Some glibc functions also exist on Solaris 11.4. ad16bd3f9 doc: Some glibc functions also exist on Solaris 11. 1b58309ef doc: Some glibc functions also exist on FreeBSD, Solaris 11. a7b9aec54 doc: Some glibc functions also exist on FreeBSD, AIX, HP-UX, Solaris 11. d3feefc80 doc: Some glibc functions also exist on IRIX 6.5 in 32-bit mode= =2E 851d2d40d doc: Mention posix_spawn_file_actions_add[f]chdir_np. 8d76d88bd doc: Mention getcpu. b8f9745c2 doc: Mention the ISO C11 multithreading header and functions. 532a9cfee doc: Mention statx. 73ccb8584 doc: Mention renameat2. f29d8d685 doc: Mention more ISO TS 18661-1 functions. b0bde85a5 doc: Mention pkey_alloc, pkey_set, pkey_get, pkey_free, pkey_mprotect. 8d12e3c69 doc: Mention mlock2. 654a75ec2 doc: Mention memfd_create. 0618b6eff doc: Mention copy_file_range. 7b13182c2 doc: Mention preadv2, pwritev2. 653e99f38 doc: Mention strfromf, strfromd, strfroml. d358d60bd doc: Mention getrandom, getentropy. 95a6c97d2 doc: Mention ISO TS 18661-1 functions. 5b1e894a9 doc: Mention more ISO TS 18661-1 functions. 0fe1b87ed doc: Mention nextdown, nextup. b054fe3d8 doc: Mention pthread_getattr_default_np, pthread_setattr_default_np. 6ef6bf8f3 doc: Mention getauxval. 7a1b7bb09 doc: Mention epoll_create1. a914b7451 doc: Mention timerfd_create, timerfd_gettime, timerfd_settime. 204ab925a doc: Mention signalfd. 4a1d89d40 doc: Mention eventfd, eventfd_read, eventfd_write. f2b106c99 doc: Mention epoll_pwait. 79894315a doc: Mention sync_file_range. 7c132a631 doc: Mention sched_getcpu. b5b0c6853 doc: Mention ppoll. 6f974c280 doc: Mention inotify_* functions. 1ebf5e216 doc: Add references to glibc documentation. 36e84d15d doc: Add references to Linux man pages. c3cd0d5e4 doc: Mention eaccess. fef6e5042 doc: Mention the availability of specific functions in glibc versions. 6019b30b7 doc: Mention that glibc no longer provides h_errno. a782cb37d doc: Remove mention of functions that are gone from glibc. e6d44a356 doc: Remove mention of function vm86 (does not exist on x86_64)= =2E 75bd8d8d8 doc: Update after removal of crypt functions from glibc 2.28. 30b621594 copy-file: fix typo b0d998d2e copy-file-range: simplify into a stub a1beabcb1 copy-file: prefer copy_file_range 508eb9919 copy-file-range: new module b8e6ceb71 autoupdate 9c383f22c binary-io: Attempted use of O_BINARY on consoles no longer fail= s. 1c0e950aa autoupdate e76e3faeb autoupdate 1b7fed3b0 dirent-safer: Make opendir_safer usable from C++. a8f178bd8 canonicalize: Make canonicalize_filename_mode usable from C++. f8bc6615f autoupdate 9bfa2644f prefix-gnulib-mk: Fix CPPFLAGS migration 8f82e3894 flexmember: update comments again 0ffb8fd22 flexmember: update comment 34d712407 autoupdate 661c55d6c setlocale: Improve fallback on macOS. bf5935a7c localename: Fix default on macOS. f56afa9a6 sync texinfo.tex with file on ftp.gnu.org 97e4b2481 maintainer-makefile: catch uses of $< in non-implicit rules 7ded27a6c threadlib: Provide an easy way to avoid mingw's winpthreads library. 64e905db0 pthread_sigmask: Fix compilation error with --enable-threads=3Dwindows. 07fb4954d close-stream, closein, closeout: simplify 9bba04193 libtool-next-version: New program. 569b5e106 declared.sh: Fix comment. 03752516b version-etc: Ease translation. d654989d8 gnupload: Explain how to create symlinks. c7d0b4506 fpucw: port to gcc -pedantic de3bb547b crypto/af_alg: port to strict C compilers 0003b0187 base64: Avoid false positive warning from Coverity. 461332525 gettext: Update to gettext 0.20. 8570cb9b7 verify: remove verify_true 89a5b4b82 Support C2X and C++17 static_assert b8068cf09 Fix _GL_HAVE__STATIC_ASSERT typo 620857c4d wcwidth: Ensure width 1, not 2, for ambiguous characters. 3f14b27de Port manywarnings to GCC 9 563c580f6 Sync lib/mktime-internal.h from glibc 4d52476fd autoupdate (removing trailing white space from config.guess) 5b891d3d9 tls tests: Prevent that the test takes too long. a4398f60f lock tests: Prevent that the test takes too long. 00991ec9b localename: Fix crash on mingw (regression from 2018-11-23). 7ffb59a71 Fix gcc warnings on 64-bit mode mingw. 7f9640b56 error: Tweak indentation. d54947bda term-style-control: Fix gcc warning on mingw. 7710ffc1b pipe-filter-gi, pipe-filter-ii: Fix gcc warning. 6c85dbeb3 relocatable-prog: Fix gcc warning on mingw. cff31e5c0 gitsub.sh: New file. 71f2092d2 argmatch: use void* for raw memory pointers 14a920195 prefix-gnulib-mk: fix the support for gnulib-po 22b911f63 di-set: allow free with 'ino_map' being NULL d6af24178 autoupdate faed200ba * lib/str-two-way.h: Fix comment typo. d617a4bb9 x-to-1: Restore ability to use original calling convention. fec2be3ca gettext: Prepare for next gettext release. ab5b2560b x-to-1: Avoid failure due to missing perl modules. ced06e079 openmp-init: New module. c2b2754fd signbit: Fix compilation error when gnulib's math.h exists twic= e. ba61bd3ba openmp: Fix compilation error on platforms without OpenMP. eb8278fef mountlist: make parsing /proc/self/mountinfo more robust f6225ebbe openmp: Add workaround for 32-bit programs on AIX. 3fbebf8c8 nproc: Fix return value for privileged processes. 91584ed61 Add copyright notices in several files. 834bd58e6 revert texinfo.tex to 2019-03-03.15 per Gavin fc075098d autoupdate a18f7ce3c term-style-control tests: Fix link error. 4a468b774 term-style-control: Fix typo in comment. 7c4dbc521 term-style-control: Add tests. 993d0646c term-style-control: New module. 092288d12 autoupdate 0d8714b7c _Noreturn: beware of C's _Noreturn in C++ pre C++11 453ff9404 Support cross-compilation to musl libc. 66c3c07e0 posix_spawn_file_actions_*: Document musl libc bugs. ec766932d autoupdate 407a19c08 futimens: Document musl libc bug. b6f167d31 Clarify that cross-compilation guesses are guesses. e0de43c19 strtold: Fix typo. da77d28dc noreturn: In C++ mode with clang, use _Noreturn as fallback. 5a929250f libtextstyle-optional: Fix compiler warnings 480e356f0 bitset: fix memory leaks 0f3c79720 bitset: minor changes 7b31451e2 bitset: expose bitset_resize 17c967e57 doc: Document the 'stdnoreturn' and 'noreturn' modules. 85e7bcab4 doc: Document how to use 'static inline'. e4d8618df libtextstyle-optional: Add tests. c23dae8c0 libtextstyle-optional: New module. 4a7bec233 c-stack: Make signal handlers more reliable. cf8abf91b Help making signal handlers more reliable. 661f63a41 _Noreturn: clang and MSVC do support [[noreturn]] in C++11 mode= =2E 03eccb2d0 _Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode d6db42193 autoupdate 8bac5eba1 fts: minor simplification b451121ab autoupdate 4d9813bf6 bitset, timevar: Depend on c99 bca971bd8 bitset: a bit (...) more tests 68cc43e4f bitset: fix overflows 3817922f8 bitset: style changes 3cd207e1d fatal-signal: Pass the signal number to the action. eac483310 fatal-signal: Add function that lists the fatal signals. a336be6b8 isatty: Make it return true in Cygwin consoles on native Window= s. 050440041 all: Update URLs to msdn.microsoft.com. 7952aabdf gnulib-tool: Clarify the coding style. de6813ed7 autoupdate 426f44034 autoupdate 3bd82a82c strtod: fix clash with strtold 9a943f694 autoupdate 69c4509f3 alloca-opt: Fix conflict mingw's new file. a40779486 autoupdate fdb2c20b0 tests: Avoid havoc with "gcc -fcheck-pointer-bounds". 011b1a33b uninorm tests: Free allocated memory. 3703dbbe8 di-set: Fix memory leak. 8c96eb80b tests: Free allocated memory. fcf959577 Fix another test failure introduced by the same commit. 613aa429e Fix test failure introduced by last commit. 4c0df5be8 tests: Prepare for using valgrind. 5db7774f1 get-rusage-as, pthread_sigmask tests: Fix -fsanitize=3Dthread findings. 81d0d262d test-userspec.c: don't print NULL 2ba60a9f1 getloadavg: Write NULL for the null pointer. fb48c2507 alloca, tsearch-tests: Write NULL for the null pointer. 363bf26b4 strfmon_l: Fix -fsanitize=3Daddress finding. b64bf15ed crypto/des: Fix undefined behaviour. 42254c0a9 Fix undefined behaviour. fa418ebbd unilbrk/u*-possible-linebreaks: Fix undefined behaviour. f6f567a94 unistr/*, uniconv/*: Fix undefined behaviour. 7e7501fa2 unistr/u8-cmp: Fix undefined behaviour. 01ec92af9 unictype/numeric: Fix undefined behaviour. 724a59097 autoupdate 9447bd973 git-version-gen: fix --version copyright year 30f4fdcb5 autoupdate b204bbfc7 relocatable-prog: Use wrapper-free installation on Mac OS X, take 2. d355f9056 relocatable-prog: Revert "Use wrapper-free installation on Mac OS X." 5c04e7191 autoupdate 788db09a9 autoupdate 188d87b05 nstrftime: support the =E2=80=98+=E2=80=99 flag 16e6d93c0 autoupdate 82519af2d relocatable-prog: Improve verbose output. c3a4785d3 stat, lstat: Fix conflict with relocatable-prog-wrapper module.= e3970fb98 long-options: add parse_gnu_standard_options_only cc42b8c93 relocatable-prog: Update documentation. 95318be14 relocatable-prog: Update documentation. 7039b8937 relocatable-prog: Use wrapper-free installation also on Mac OS X 10.4. 716fac12c nstrftime: tweak arg order 4fe3afa8f relocatable-prog: Use wrapper-free installation also on Mac OS = X. 015c30cac relocatable-prog: Use $ORIGIN trick also on GNU/Hurd. ddbd29c30 nstrftime: merge glibc strftime changes 35e462817 relocatable-prog: Use $ORIGIN trick on more platforms. 18f4d4133 progreloc: Speed up executable lookup on various platforms. cd46bf0ca progreloc: Simplify code for Android. f94c70ae4 autoupdate 314e9b692 autoupdate dc135c4fd gnulib-tool: Support --import with just a few tests, not --with-tests. 49137e3bc gnulib-tool: Improve handling of multiple --local-dir options. 341723e1b libtextstyle: New module. 30f8dae4c declared.sh: Fix bug with variables of pointer type. 45ed991d6 Add script for running tests under valgrind. ddba03e40 declared.sh: Fix --version output. 10d0e6a7d Add script for determining the set of symbols to export from a library. 3043e43a7 vla: add commentary about VLA_ELEMS 2f6abcc9f dtoastr,ftoastr,ldtoastr: port to c-strtod changes edacea21c autoupdate 8430fa87e fma: Improve code style. 26201178d *-map tests: Fix compilation error. b39cc7260 c-strtod, c-strtold: Use the bug fixes for strtod, strtold. 97e23d40a strtod, strtold: Use the locale's decimal point. cd825c6d5 strtod, strtold tests: Simplify tests. 376b353f9 strtod, strtold: Avoid unnecessary rounding errors. a908d8969 strtod, strtold: Work around HP-UX 11.31/ia64 bug. 6a7357fe5 autoupdate c39d926ef strtold: Add tests. ebad0cfeb strtold: New module. 0babfcddd strtod: Fix compilation error on IRIX 6.5. a5988c12c Fix build error when building a shared libunistring on Android.= ca02ca64f Avoid build errors due to wrong references between modules. e67d5ddc3 tmpfile: Add support for Android, part 2. a7db20edb gperf: Fix error when this module is required by some test modu= le. abdbeff39 tmpfile: Add support for Android. 954d1e36a bitsetv: allow free on NULL. 07ff53ad5 test-framework-sh: Improve maintainability. 52bf7c2b3 tests: Don't assume that /tmp exists. 1968c439d tests: Accommodate a shell that is not in /bin/sh. 4ca4f8f0c tests: Fix some "unused variable" warnings. 188e767b9 unigbrk/uc-grapheme-breaks: Fix build failure. 5d6ca1aee mountlist: Merge two .m4 files. 675d6027e tests: Enable Linux specific tests on Android. fa3e028aa relocatable-prog: Use Linux code on Android. 70152b705 getloadavg: Add support for Android. 79b92f92d vma-iter: Add support for Android. f2ca86eac fts: Optimize on Android. adec7ef4a fts: Add support for Android. a3d1c7849 mountlist: Use Linux code on Android. 29c58de5b localename tests: Fix test failure on Android. 248cb6a24 mountlist: Port better to Android. 90efd9e93 striconveh: Fix use of uninitialized iconv_t. 025b5528c nonblocking-socket-tests: Fix test failure on Android 4.3. 3b5f96342 sh-filename: Add support for Android 4.3. 8a2c831f1 ptsname_r: Work around bug on Android 4.3. 0c4342cb6 ttyname_r: Work around bug on Android 4.3. 3324e9ccf getprogname: Port to Android 4.3. 555ed22dd wcrtomb: Work around bug on Android 4.3. 575971db4 setlocale: Work around bug on Android 4.3. 9462eb64f memchr: Work around bug on Android <=3D 5.0. 26653040b random: Fix compilation error on Android 4.3. 3215a9f56 mbtowc: Fix compilation error on Android 4.3. ea9062bea fdatasync: Fix compilation error on Android 4.3. dc0f8ce9f unlinkat: Fix compilation error on Android 4.3. 1f9ed3993 renameat: Fix compilation error on Android 4.3. 3c136a2cc fchownat: Fix compilation error on Android 4.3. 425ee4225 gnulib-tool: Support running testdirs on Android. 34881aff4 relocatable-prog: add a comment 376668638 relocatable-prog: avoid warnings from Automake f271b56e1 array-list: Pacify warnings about unused arguments (-Wunused-parameter) 681f1b8b8 threadlib: Revert commit from 2018-06-25. We now have a better fix. cca32830b thread: Force linking with -lpthread, even when --as-needed is in use. 7b56f157a relocatable: avoid compiler warnings (-Wshadow) 6c0f109fb vasnprintf: Don't use %n on Android. 5447f440e *printf: Support cross-compilation to Android. 5ddb2f9d4 autoupdate f986e77af diacrit: Mark deprecated. 1643f0d68 diacrit: Mark deprecated. 5b490ef07 rintl: Override broken implementation on NetBSD. e5462c330 log10l: Work around inaccurate implementation on NetBSD. 27f3a1709 logl: Work around inaccurate implementation on NetBSD. 67df3cffa expm1l: Work around inaccurate implementation on NetBSD. 0ac7b4317 expl: Work around inaccurate implementation on NetBSD. e86cbc464 exp2l: Work around inaccurate implementation on NetBSD. 064adf3d1 floor, floorl: Avoid autoconf warnings. 3b9e41eff Defeat current GCC optimizations in math autoconf tests. 8da562a8a gettext: support disabling use of VLAs d2a3dfe3f autoupdate eac175921 sys_stat: Fix 'implicit declaration of function' warning on OS/2 kLIBC. 2541624fd fcntl: Fix syntax error (regression from 2018-10-05). 34290cb92 autoupdate c66547cdc relocatable: improve documentation b1ca7611d backup: update dependencies c88cf363f getcwd: Fix test failure when building on a Linux 9p file syste= m. 769c6d033 Fix typos found by codespell. d9e8386aa doc: Fix documentation about container data types. 315eb5ffc verify: Enable _GL_HAVE_STATIC_ASSERT for recent G++ versions. 29d802900 getpass: Fix include filename ChangeLog | 6 ++++++ modules/configmake | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 644330370..35f870abe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-08-08 Eric Blake + + configmake: Avoid namespace pollution issue on mingw. + * modules/configmake (Makefile.am): If the project uses + , include that header before defining DATADIR. + 2019-07-28 Bruno Haible mbrtowc tests: Fix regression on mingw (regression from 2018-02-24). diff --git a/modules/configmake b/modules/configmake index 5a60f4f80..0074071fc 100644 --- a/modules/configmake +++ b/modules/configmake @@ -17,6 +17,9 @@ Makefile.am: configmake.h: Makefile $(AM_V_GEN)rm -f $@-t && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + echo '#if HAVE_WINSOCK2_H'; \ + echo '# include /* avoid mingw pollution on DATADIR */'; \ + echo '#endif'; \ echo '#define PREFIX "$(prefix)"'; \ echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ echo '#define BINDIR "$(bindir)"'; \ --=20 2.20.1 --CEbakX3XHHNDazQbvTW0cXL0WNdzuKKPA-- --WCifGn0MNEEZMWVz2eNMklcqC6KZhzvpb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAl1MHtwACgkQp6FrSiUn Q2oGDwf9HZAy3Eyp2kzF+jbBvFv7Iy6JptjiJAHSShoB2btUkP1e5wti62heg/5i IBoYKVbXjfend0sjOOreN1C22osB48CHiPdyxl9KszXdavCdzZUxYmQ3gnpNRu5o 679smXImKwi2IaD5vMtXwjQ5g7Bqu4Q+JYCqqn3DzIXL4idcUHE806zizXCYIU0g l+fdxQTQTTh66SzrN867y4Oh+PpkIH6LGzxCDPESuYfMQ/0sleo83JUeRCsdaM5J PWEQXrQOl9Oip5Pd0t91LIEI8zhpehKGgToG8/aJqhcHyuoD/FyG8o367gYMhOVy TyxncgY95rPYK+vQn+fZUmqU8b4Wkg== =uzbP -----END PGP SIGNATURE----- --WCifGn0MNEEZMWVz2eNMklcqC6KZhzvpb-- --===============4850545001263073769== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list --===============4850545001263073769==--