summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2015-06-20 20:19:52 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2015-06-20 20:32:54 (GMT)
commit8c13b3fe9a3c64471f3e2d0c07a9045c67c6269b (patch) (side-by-side diff)
tree5169521d6bccdd8846d3fd77b9190655f6e1fff0
parentf59f778ea485064a6679892c10c1fd7c9dd65a13 (diff)
downloadsmap-8c13b3fe9a3c64471f3e2d0c07a9045c67c6269b.tar.gz
smap-8c13b3fe9a3c64471f3e2d0c07a9045c67c6269b.tar.bz2
Version 2.0
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS10
-rw-r--r--configure.ac10
-rw-r--r--src/smapc.c5
3 files changed, 13 insertions, 12 deletions
diff --git a/NEWS b/NEWS
index 2be4a49..efe0707 100644
--- a/NEWS
+++ b/NEWS
@@ -1,14 +1,16 @@
-Smap NEWS -- history of user-visible changes. 2014-08-24
-Copyright (C) 2006-2010, 2014 Sergey Poznyakoff
+Smap NEWS -- history of user-visible changes. 2015-06-20
+Copyright (C) 2006-2010, 2014-1015 Sergey Poznyakoff
See the end of file for copying conditions.
Please send Smap bug reports to <gray+smap@gnu.org.ua>
-Version 1.1.90, Git
+Version 2.0, 2015-06-20
* new module: ldap
+* mailutils: Requires 2.99.98 or later
+
Version 1.1, 2010-07-03
@@ -72,7 +74,7 @@ Version 1.0, 2010-06-19
=========================================================================
Copyright information:
-Copyright (C) 2006, 2007, 2008, 2009 Sergey Poznyakoff
+Copyright (C) 2006-2010, 2014-1015 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
diff --git a/configure.ac b/configure.ac
index b39e917..73b2d8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
# This file is part of Smap. -*- autoconf -*-
-# Copyright (C) 2010, 2014 Sergey Poznyakoff
+# Copyright (C) 2010, 2014, 2015 Sergey Poznyakoff
#
# Smap is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
# along with Smap. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.63)
-m4_define([SMAP_VERSION_MAJOR], 1)
-m4_define([SMAP_VERSION_MINOR], 1)
-m4_define([SMAP_VERSION_PATCH], 90)
+m4_define([SMAP_VERSION_MAJOR], 2)
+m4_define([SMAP_VERSION_MINOR], 0)
+dnl m4_define([SMAP_VERSION_PATCH], 90)
AC_INIT([smap],
SMAP_VERSION_MAJOR.SMAP_VERSION_MINOR[]m4_ifdef([SMAP_VERSION_PATCH],.SMAP_VERSION_PATCH),
[gray+smap@gnu.org.ua])
@@ -101,7 +101,7 @@ AC_ARG_WITH([mailutils],
[status_mailutils=maybe])
if test $status_mailutils != no; then
- AM_GNU_MAILUTILS(2.0, [all cfg auth],
+ AM_GNU_MAILUTILS(2.99.98, [all cfg auth],
[status_mailutils=yes],
[if test $status_mailutils = yes; then
AC_MSG_ERROR([GNU Mailutils not found])
diff --git a/src/smapc.c b/src/smapc.c
index 3beaa63..88ddb0c 100644
--- a/src/smapc.c
+++ b/src/smapc.c
@@ -479,7 +479,7 @@ _command_generator(const char *text, int state)
}
static char **
-_command_completion(char *cmd, int start, int end)
+_command_completion(const char *cmd, int start, int end)
{
char **ret = NULL;
@@ -644,8 +644,7 @@ read_eval_loop(FILE *fp, int interactive)
#ifdef WITH_READLINE
if (interactive) {
rl_readline_name = smap_progname;
- rl_attempted_completion_function =
- (CPPFunction*) _command_completion;
+ rl_attempted_completion_function = _command_completion;
read_history(get_history_file_name());
}
#endif

Return to:

Send suggestions and report system problems to the System administrator.