summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-14 19:52:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-14 19:52:39 +0000
commit3e09f26dc20faf5041ca01f2bebcd72ef28954b3 (patch)
tree9090378b0f08b8d75a25473583582bb75221d9b8
parent6a8ad83ba6e4e459500817ff86893cd33385bb63 (diff)
downloadexecline-3e09f26dc20faf5041ca01f2bebcd72ef28954b3.tar.gz
execline-3e09f26dc20faf5041ca01f2bebcd72ef28954b3.tar.xz
execline-3e09f26dc20faf5041ca01f2bebcd72ef28954b3.zip
- more intuitive error message for backtick without a remainder
 - rc for 2.1.4.5
-rw-r--r--INSTALL2
-rw-r--r--doc/index.html4
-rw-r--r--doc/upgrade.html6
-rw-r--r--package/info2
-rw-r--r--src/execline/backtick.c1
5 files changed, 11 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index 009a9cb..231cd7c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,7 +6,7 @@ Build Instructions
 
   - A POSIX-compliant C development environment
   - GNU make version 3.81 or later
-  - skalibs version 2.3.8.0 or later: http://skarnet.org/software/skalibs/
+  - skalibs version 2.3.8.2 or later: http://skarnet.org/software/skalibs/
 
  This software will run on any operating system that implements
 POSIX.1-2008, available at:
diff --git a/doc/index.html b/doc/index.html
index f9ec4ce..a63cdb4 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -51,7 +51,7 @@ shell's syntax, and has no security issues.
  <li> A POSIX-compliant system with a standard C development environment </li>
  <li> GNU make, version 3.81 or later. </li>
  <li> <a href="http://skarnet.org/software/skalibs/">skalibs</a> version
-2.3.8.0 or later. It's a build-time requirement. It's also a run-time
+2.3.8.2 or later. It's a build-time requirement. It's also a run-time
 requirement if you link against the shared version of the skalibs
 library. </li>
 </ul>
@@ -66,7 +66,7 @@ library. </li>
 <h3> Download </h3>
 
 <ul>
- <li> The current released version of execline is <a href="execline-2.1.4.4.tar.gz">2.1.4.4</a>. </li>
+ <li> The current released version of execline is <a href="execline-2.1.4.5.tar.gz">2.1.4.5</a>. </li>
  <li> Alternatively, you can checkout a copy of the execline git repository:
 <pre> git clone git://git.skarnet.org/execline </pre> </li>
 </ul>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index aa0a652..19b5a07 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,12 @@
 
 <h1> What has changed in execline </h1>
 
+<h2> in 2.1.4.5 </h2>
+
+<ul>
+ <li> skalibs dependency bumped to 2.3.8.2 </li>
+</ul>
+
 <h2> in 2.1.4.4 </h2>
 
 <ul>
diff --git a/package/info b/package/info
index 1cc613c..0ca6d04 100644
--- a/package/info
+++ b/package/info
@@ -1,4 +1,4 @@
 package=execline
-version=2.1.4.4
+version=2.1.4.5
 category=admin
 package_macro_name=EXECLINE
diff --git a/src/execline/backtick.c b/src/execline/backtick.c
index 41b95d6..2deb9f3 100644
--- a/src/execline/backtick.c
+++ b/src/execline/backtick.c
@@ -53,6 +53,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
       newargv[m++] = argv[i++] ;
     if (!argv[i]) strerr_dief1x(100, "unterminated block") ;
     newargv[m++] = "" ; i++ ;
+    if (!argv[i]) strerr_dief1x(100, "empty remainder") ;
     newargv[m++] = EXECLINE_BINPREFIX "withstdinas" ;
     if (insist) newargv[m++] = "-i" ;
     if (chomp) newargv[m++] = "-n" ;