From 769e81c7c3f94824eaef57bd88c26c497d74733f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 27 May 2014 12:34:43 +0000 Subject: [PATCH] Make tiny nano a tiny bit tinier. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4914 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/global.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4a2f402a..c79b2913 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2014-05-27 Benno Schulenberg * src/global.c (shortcut_init): Improve the arrangement of help items under certain compilation conditions. + * src/global.c (strtosc): Make tiny nano a bit tinier. 2014-05-26 Benno Schulenberg * src/cut.c (cut_line): Fix compilation with --enable-tiny. diff --git a/src/global.c b/src/global.c index ddeb06d6..97f504f2 100644 --- a/src/global.c +++ b/src/global.c @@ -1470,6 +1470,7 @@ sc *strtosc(char *input) else if (!strcasecmp(input, "casesens")) { s->scfunc = case_sens_void; s->execute = FALSE; +#ifndef NANO_TINY } else if (!strcasecmp(input, "regexp") || !strcasecmp(input, "regex")) { s->scfunc = regexp_void; @@ -1477,6 +1478,7 @@ sc *strtosc(char *input) } else if (!strcasecmp(input, "backwards")) { s->scfunc = backwards_void; s->execute = FALSE; +#endif } else if (!strcasecmp(input, "dontreplace")) { s->scfunc = no_replace_void; s->execute = FALSE; -- 2.39.5