diff --git a/Makefile b/Makefile index 5c292c9..d09ee77 100755 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ ETCDIR=/etc all: epub2txt -VERSION=0.1.3 +VERSION=0.1.4 MYCFLAGS=-g -Wall -DVERSION=\"$(VERSION)\" $(CFLAGS) MYLDFLAGS=$(LDFLAGS) diff --git a/README_epub2txt.html b/README_epub2txt.html index 7f43f54..1a9b2e0 100755 --- a/README_epub2txt.html +++ b/README_epub2txt.html @@ -5,7 +5,7 @@

epub2txt -- Extract text from EPUB documents

-Version 0.1.3, March 2016 +Version 0.1.4, March 2016

What is this?

@@ -126,6 +126,14 @@

Revision history

+ + + +
+0.1.4, May 2017 + +Remove unnecessary KBOX support kludges +
0.1.3, March 2016 @@ -170,10 +178,7 @@

Downloads

source by a minor version or two.

-Source code bundle for all platforms
-Compiled binary for Cygwin on Windows
-KBOX installer package for use with KBOX2 on Android devices
-KBOX installer package for use with KBOX3 on Android devices
+Source code bundle for all platforms
The latest source can also be checked out from github. diff --git a/epub2txt.c b/epub2txt.c index 9e0d0c9..ad33c1f 100755 --- a/epub2txt.c +++ b/epub2txt.c @@ -878,10 +878,11 @@ void epub2txt_do_file (const char *file, BOOL ascii, int width, BOOL notrim, char cmd[512]; - const char *kbox = getenv ("KBOX"); - if (kbox) - sprintf (tempbase, "%s/tmp", kbox); - else + //This tmpdir offset is no longer necessary in KBOX3+ + //const char *kbox = getenv ("KBOX"); + //if (kbox) + // sprintf (tempbase, "%s/tmp", kbox); + //else { if (getenv ("TMP")) strcpy (tempbase, getenv("TMP"));