aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,4 +1,4 @@
-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.
@@ -6,8 +6,10 @@ 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
@@ -73,5 +75,5 @@ 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
diff --git a/configure.ac b/configure.ac
index b39e917..73b2d8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
# 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
@@ -16,7 +16,7 @@
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),
@@ -102,5 +102,5 @@ AC_ARG_WITH([mailutils],
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
diff --git a/src/smapc.c b/src/smapc.c
index 3beaa63..88ddb0c 100644
--- a/src/smapc.c
+++ b/src/smapc.c
@@ -480,5 +480,5 @@ _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;
@@ -645,6 +645,5 @@ read_eval_loop(FILE *fp, int interactive)
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());
}

Return to:

Send suggestions and report system problems to the System administrator.