[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vma-iter: support Solaris
From: |
Bruno Haible |
Subject: |
Re: vma-iter: support Solaris |
Date: |
Sat, 30 Sep 2017 19:56:19 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-93-generic; KDE/5.18.0; x86_64; ; ) |
On 2017-04-19 I did this patch:
> 2017-04-18 Bruno Haible <address@hidden>
>
> vma-iter: Fix conflict with module 'largefile' on 32-bit Solaris 9.
> * modules/vma-iter (configure.ac): Test whether <sys/procfs.h> can be
> included.
> * lib/vma-iter.c: On Solaris, test HAVE_SYS_PROCFS_H before including
> <sys/procfs.h>.
> * lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Don't define on Solaris when
> <sys/procfs.h> cannot be included.
> Reported by Tom G. Christensen <address@hidden>.
Well, that fixed the compilation error, but at the price of not having a working
vma_iterate function in this configuration. The attached patch does it better.
2017-09-30 Bruno Haible <address@hidden>
vma-iter: Make it work on 32-bit Solaris with module 'largefile'.
* modules/vma-iter: Don't test for sys/procfs.h, as this test would
fail when module 'largefile' is in use.
* lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Don't test HAVE_SYS_PROCFS_H.
* lib/vma-iter.c: Undefine _FILE_OFFSET_BITS early.
Don't test HAVE_SYS_PROCFS_H.
0001-vma-iter-Make-it-work-on-32-bit-Solaris-with-module-.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: vma-iter: support Solaris,
Bruno Haible <=