nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit b8576780bf1977660015ae8ed3ac963cebfd165b
parent a9dea9859d225612c9fe8d4bec4e3f04e2af054a
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sat, 12 Jul 2008 02:32:19 +0000

2008-07-11 Fabian Groffen <grobian@gentoo.org>
        * nano.c: Don't include langinfo.h if not using ENABLE_UTF8
          (Savannah patch 6565)



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4277 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4++++
Msrc/nano.c | 2++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-11 Fabian Groffen <grobian@gentoo.org> + * nano.c: Don't include langinfo.h if not using ENABLE_UTF8 + (Savannah patch 6565) + 2008-07-11 Mitsuya Shibata <mty.shibata@gmail.com> * text.c: Fix crashing in help menu when using certain locales (Savannah bug 23751) diff --git a/src/nano.c b/src/nano.c @@ -32,7 +32,9 @@ #include <errno.h> #include <ctype.h> #include <locale.h> +#ifdef ENABLE_UTF8 #include <langinfo.h> +#endif #include <termios.h> #ifdef HAVE_GETOPT_H #include <getopt.h>