From: Paolo Bonzini Date: Tue, 28 Jun 2011 14:46:39 +0000 (+0200) Subject: mmap-anon: do not use regular expressions inadvertently X-Git-Tag: v0.1~2201 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0f247f994ecf88c40563c2d264536a1aa7634b33;p=gnulib.git mmap-anon: do not use regular expressions inadvertently * m4/mmap-anon.m4: Remove trailing period from strings sought in the output. --- diff --git a/ChangeLog b/ChangeLog index 846625820..4c88f8a01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-06-27 Paolo Bonzini + + mmap-anon: do not use regular expressions inadvertently + * m4/mmap-anon.m4: Remove trailing period from strings sought + in the output. + 2011-06-25 Paul Eggert nanosleep: fix integer overflow problem diff --git a/m4/mmap-anon.m4 b/m4/mmap-anon.m4 index 7ba7fd26b..952536feb 100644 --- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -27,18 +27,18 @@ AC_DEFUN([gl_FUNC_MMAP_ANON], gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) - AC_EGREP_CPP([I cant identify this map.], [ + AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANONYMOUS - I cant identify this map. + I cant identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then - AC_EGREP_CPP([I cant identify this map.], [ + AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANON - I cant identify this map. + I cant identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],