Commit 8dbfb5c2 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Re-add the changes since the CVS tarball was made *argh*

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1052 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 106 additions and 185 deletions
+106 -185
...@@ -129,7 +129,8 @@ ...@@ -129,7 +129,8 @@
Ramsey, fixed by David Lawrence Ramsey & Chris) (66) [FIXED]. Ramsey, fixed by David Lawrence Ramsey & Chris) (66) [FIXED].
- ^C does not work after a suspend in tcsh (discovered by - ^C does not work after a suspend in tcsh (discovered by
Trevor Cordes) (68) [FIXED]. Trevor Cordes) (68) [FIXED].
- Home and End control keys (^A, ^E) do not always work in filename
prompt (bug found by Ian Turner) (69) [1.0 series only] [FIXED].
** Open BUGS ** ** Open BUGS **
$Id$ $Id$
...@@ -3,6 +3,11 @@ CVS code - ...@@ -3,6 +3,11 @@ CVS code -
- New flag RELATIVECHARS to show column positino relative to - New flag RELATIVECHARS to show column positino relative to
the current line instead of the current file. New flag the current line instead of the current file. New flag
-C, --relative, changes to do_cursorpos(). -C, --relative, changes to do_cursorpos().
- Makefile.am:
- Add SYSCONFDIR to DEFS, so we can have an /etc/nanorc.
- utils.c:
strstrwrapper()
- NANO_SMALL test was backwards (Ken Tyler).
- nanorc.sample - nanorc.sample
- Mention unset in the sample nanorc. - Mention unset in the sample nanorc.
- po/ca.po, po/es.po: - po/ca.po, po/es.po:
...@@ -15,6 +20,8 @@ CVS code - ...@@ -15,6 +20,8 @@ CVS code -
- Norwegian nynorsk translation updates (Kjetil Torgrim Homme). - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
- po/de.po: - po/de.po:
- German translation updates (Michael Piefel). - German translation updates (Michael Piefel).
- po/it.po:
- Italian translation updates (Marco Colombo).
nano-1.1.6 - 01/25/2002 nano-1.1.6 - 01/25/2002
- General - General
......
...@@ -6,6 +6,8 @@ ACINCLUDE_INPUTS = $(M4DIR)/gettext.m4 $(M4DIR)/largefile.m4 \ ...@@ -6,6 +6,8 @@ ACINCLUDE_INPUTS = $(M4DIR)/gettext.m4 $(M4DIR)/largefile.m4 \
$(M4DIR)/progtest.m4 $(M4DIR)/lcmessage.m4 $(M4DIR)/iconv.m4 \ $(M4DIR)/progtest.m4 $(M4DIR)/lcmessage.m4 $(M4DIR)/iconv.m4 \
$(M4DIR)/codeset.m4 $(M4DIR)/glibc21.m4 $(M4DIR)/codeset.m4 $(M4DIR)/glibc21.m4
DEFS= -DSYSCONFDIR=\"$(sysconfdir)\"
bin_PROGRAMS = nano bin_PROGRAMS = nano
nano_SOURCES = color.c \ nano_SOURCES = color.c \
cut.c \ cut.c \
......
2002-01-27 Jordi Mallach <jordi@sindominio.net>
* it.po: Updated translation by Marco Colombo.
2002-01-26 Jordi Mallach <jordi@sindominio.net> 2002-01-26 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Gurard. * fr.po: Updated translation by Jean-Philippe Gurard.
......
This diff is collapsed.
...@@ -101,18 +101,17 @@ char *strstrwrapper(char *haystack, char *needle, char *rev_start) ...@@ -101,18 +101,17 @@ char *strstrwrapper(char *haystack, char *needle, char *rev_start)
{ {
#ifdef HAVE_REGEX_H #ifdef HAVE_REGEX_H
int result; int result;
char *i, *j;
if (ISSET(USE_REGEXP)) { if (ISSET(USE_REGEXP)) {
#ifndef NANO_SMALL
if (!ISSET(REVERSE_SEARCH)) { if (!ISSET(REVERSE_SEARCH)) {
result = regexec(&search_regexp, haystack, 10, regmatches, 0); result = regexec(&search_regexp, haystack, 10, regmatches, 0);
if (!result) if (!result)
return haystack + regmatches[0].rm_so; return haystack + regmatches[0].rm_so;
#ifndef NANO_SMALL
} else { } else {
#endif char *i, *j;
/* do quick check first */ /* do quick check first */
if (!(regexec(&search_regexp, haystack, 10, regmatches, 0))) { if (!(regexec(&search_regexp, haystack, 10, regmatches, 0))) {
/* there is a match */ /* there is a match */
...@@ -124,9 +123,8 @@ char *strstrwrapper(char *haystack, char *needle, char *rev_start) ...@@ -124,9 +123,8 @@ char *strstrwrapper(char *haystack, char *needle, char *rev_start)
} }
} }
#ifndef NANO_SMALL
}
#endif #endif
}
return 0; return 0;
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment