about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-08-13 16:09:50 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-08-13 16:09:50 +0000
commit9212da01bbaa900dbff8aca9b07b92d821251df2 (patch)
tree30144faa6b93c392db62303a4b61fdc3bf7f86e5
parent3fc40a0c2ee783f2180c0f477f26d68bde6cb53c (diff)
downloadexecline-9212da01bbaa900dbff8aca9b07b92d821251df2.tar.gz
execline-9212da01bbaa900dbff8aca9b07b92d821251df2.tar.xz
execline-9212da01bbaa900dbff8aca9b07b92d821251df2.zip
Add EXECLINE_BLOCK_*_STRING macros
-rw-r--r--doc/index.html2
-rw-r--r--doc/upgrade.html6
-rw-r--r--package/info2
-rw-r--r--src/include/execline/execline.h2
4 files changed, 10 insertions, 2 deletions
diff --git a/doc/index.html b/doc/index.html
index 921ff49..9772ccb 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -67,7 +67,7 @@ library. </li>
 <h3> Download </h3>
 
 <ul>
- <li> The current released version of execline is <a href="execline-2.1.3.1.tar.gz">2.1.3.1</a>. </li>
+ <li> The current released version of execline is <a href="execline-2.1.4.0.tar.gz">2.1.4.0</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 51d64d3..11ecd0a 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.0 </h2>
+
+<ul>
+ <li> New <tt>EXECLINE_BLOCK_END_STRING</tt> and <tt>EXECLINE_BLOCK_QUOTE_STRING</tt> macros </li>
+</ul>
+
 <h2> in 2.1.3.1 </h2>
 
 <ul>
diff --git a/package/info b/package/info
index 34656b7..ba6c53b 100644
--- a/package/info
+++ b/package/info
@@ -1,4 +1,4 @@
 package=execline
-version=2.1.3.1
+version=2.1.4.0
 category=admin
 package_macro_name=EXECLINE
diff --git a/src/include/execline/execline.h b/src/include/execline/execline.h
index 7691cf1..45ee1e5 100644
--- a/src/include/execline/execline.h
+++ b/src/include/execline/execline.h
@@ -8,7 +8,9 @@
 #include <skalibs/buffer.h>
 #include <skalibs/stralloc.h>
 
+#define EXECLINE_BLOCK_QUOTE_STRING " "
 #define EXECLINE_BLOCK_QUOTE_CHAR ' '
+#define EXECLINE_BLOCK_END_STRING ""
 #define EXECLINE_BLOCK_END_CHAR '\0'