when calling AC_TRY_RUN() to test for a broken regexec() function, set
the fourth parameter to default to "no" (since it apparently only occurs on glibc 2.2.3-based systems) so that cross-compiling will work git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1929 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
02517e0a0f
commit
1a5c4c691c
|
@ -106,6 +106,11 @@ CVS code -
|
||||||
- Don't bother assigning the value of get_mouseinput() to
|
- Don't bother assigning the value of get_mouseinput() to
|
||||||
anything. Since allow_shortcuts is FALSE, its return value
|
anything. Since allow_shortcuts is FALSE, its return value
|
||||||
will always be FALSE. (DLR)
|
will always be FALSE. (DLR)
|
||||||
|
- configure.ac:
|
||||||
|
- When calling AC_TRY_RUN() to test for a broken regexec()
|
||||||
|
function, set the fourth parameter to default to "no" (since
|
||||||
|
it apparently only occurs on glibc 2.2.3-based systems) so
|
||||||
|
that cross-compiling will work. (DLR, found by Mike Frysinger)
|
||||||
- nanorc.sample:
|
- nanorc.sample:
|
||||||
- Remove specific references to control key shortcuts other than
|
- Remove specific references to control key shortcuts other than
|
||||||
XON and XOFF. (DLR)
|
XON and XOFF. (DLR)
|
||||||
|
@ -1574,8 +1579,8 @@ GNU nano 1.2.1 - 2003.04.19
|
||||||
- General:
|
- General:
|
||||||
- Translation updates (see po/ChangeLog for details).
|
- Translation updates (see po/ChangeLog for details).
|
||||||
- Work around broken regexec() on some systems that segfaults
|
- Work around broken regexec() on some systems that segfaults
|
||||||
when passed an empty string. New function regexec_safe().
|
when passed an empty string. This is known to be in glibc
|
||||||
(David Benbennick)
|
2.2.3. New function regexec_safe(). (David Benbennick)
|
||||||
- Fix various bugs with search string history logging: don't
|
- Fix various bugs with search string history logging: don't
|
||||||
print a broken error message and freeze if ~/.nano_history is
|
print a broken error message and freeze if ~/.nano_history is
|
||||||
unreadable, actually show an error message in save_history()
|
unreadable, actually show an error message in save_history()
|
||||||
|
|
|
@ -56,7 +56,9 @@ int main(void)
|
||||||
return 0;
|
return 0;
|
||||||
}],
|
}],
|
||||||
AC_MSG_RESULT(no),
|
AC_MSG_RESULT(no),
|
||||||
AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.])
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.]),
|
||||||
|
AC_MSG_RESULT([cross-compiling; assuming no])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue