Re: [bug-gnulib] Re: [PATCH] mmap-anon.m4: use proper macro condition

2005-05-06 Thread Paul Eggert
Mark D. Baushke [EMAIL PROTECTED] writes:

 I have not seen any discussion or commit on this patch suggested by
 Moriyoshi Koizumi [EMAIL PROTECTED]

Sorry, I didn't see that.  The patch seems obvious so I installed it.
Thanks.


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: [bug-gnulib] Re: [PATCH] mmap-anon.m4: use proper macro condition

2005-05-02 Thread Moriyoshi Koizumi
On 2005/05/02, at 16:25, Mark D. Baushke wrote:
Many thanks to Paul Eggert [EMAIL PROTECTED] who committed the patch
to gl_FUNC_MMAP_ANON to check for message, not for MAP_ANON.
I have updated the feature branch of CVS on cvshome.org to use the new
version of the m4/mmap-anon.m4 file.
Both confirmed.
http://savannah.gnu.org/cgi-bin/viewcvs/gnulib/gnulib/m4/mmap- 
anon.m4.diff?r1=1.4r2=1.5
http://ccvs.cvshome.org/source/browse/ccvs/m4/mmap-anon.m4?r1=1.2r2=1.3

Thank you for all your effort regarding this problem.
Regards,
Moriyoshi

___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: [bug-gnulib] Re: [PATCH] mmap-anon.m4: use proper macro condition

2005-05-02 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Many thanks to Paul Eggert [EMAIL PROTECTED] who committed the patch
to gl_FUNC_MMAP_ANON to check for message, not for MAP_ANON.

I have updated the feature branch of CVS on cvshome.org to use the new
version of the m4/mmap-anon.m4 file.

Enjoy!
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCddX+3x41pRYZE/gRAv3bAJ9/5WqErJInzuM9Laa7cnzqvc64wgCgxP4g
zK05B1vpndbZmDtttGdmbtc=
=4fEN
-END PGP SIGNATURE-


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: [bug-gnulib] Re: [PATCH] mmap-anon.m4: use proper macro condition

2005-05-01 Thread Mark D. Baushke
Hi Folks,

I have not seen any discussion or commit on this patch suggested by
Moriyoshi Koizumi [EMAIL PROTECTED] (originally submitted to the
bug-cvs list and forwarded by me) which allows MacOS X (10.2.x and
10.3.x) to properly be able to '#define HAVE_MAP_ANONYMOUS 1' along with
'#define MAP_ANONYMOUS MAP_ANON' ...

This lets us get rid of the configure lines:

cat conftest.$ac_ext _ACEOF
/* end confdefs.h.  */
#include 
#include sys/mman.h
#ifdef MAP_ANON
I cant identify this map.
#endif


_ACEOF

and replace them with

cat conftest.$ac_ext _ACEOF
/* end confdefs.h.  */

#include sys/mman.h
#ifdef MAP_ANON
I cant identify this map.
#endif

_ACEOF

which at least is valid C code.

Please install it in GNULIB.

Thanks,
-- Mark

Index: m4/mmap-anon.m4
===
RCS file: /cvsroot/gnulib/gnulib/m4/mmap-anon.m4,v
retrieving revision 1.4
diff -u -p -r1.4 mmap-anon.m4
--- m4/mmap-anon.m4 7 Mar 2005 17:29:29 -   1.4
+++ m4/mmap-anon.m4 1 May 2005 14:58:15 -
@@ -27,8 +27,8 @@ AC_DEFUN([gl_FUNC_MMAP_ANON],
 #endif
 ],
   [gl_have_mmap_anonymous=yes])
-if test $gl_have_mmap_anonymous = no; then
-  AC_EGREP_HEADER([MAP_ANON], [
+if test $gl_have_mmap_anonymous != yes; then
+  AC_EGREP_CPP([I cant identify this map.], [
 #include sys/mman.h
 #ifdef MAP_ANON
 I cant identify this map.


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


[PATCH] mmap-anon.m4: use proper macro condition

2005-04-23 Thread Moriyoshi Koizumi
Hello,
Attached is a patch against 1.12.12 that fixes the MMAP_ANON detection
problem in mmap-anon.m4 that would lead to unexpected memory exhausted
error on several platforms.
Hope this helps anyway.
Regards,
Moriyoshi
___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs