Ignore special ascii chars, strip binary in docker build

This commit is contained in:
simon 2020-01-12 10:59:17 -05:00
parent 5a2820d339
commit f5db78a69f
4 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
rm ./sist2
cp ../sist2 .
strip sist2
version=$(./sist2 --version)

View File

@ -10,7 +10,7 @@
#define EPILOG "Made by simon987 <me@simon987.net>. Released under GPL-3.0"
static const char *const Version = "1.1.14";
static const char *const Version = "1.1.15";
static const char *const usage[] = {
"sist2 scan [OPTION]... PATH",
"sist2 index [OPTION]... INDEX",

View File

@ -7,7 +7,7 @@
#define INITIAL_BUF_SIZE 1024 * 16
#define SHOULD_IGNORE_CHAR(c) !(SHOULD_KEEP_CHAR(c))
#define SHOULD_KEEP_CHAR(c) (c >= (int)'!')
#define SHOULD_KEEP_CHAR(c) ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'z') || (c > 127))
typedef struct dyn_buffer {

View File

@ -11,7 +11,7 @@
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="/">sist2</a>
<span class="badge badge-pill version">v1.1.14</span>
<span class="badge badge-pill version">v1.1.15</span>
<span class="tagline">Lightning-fast file system indexer and search tool </span>
<a style="margin-left: auto" id="theme" class="btn" title="Toggle theme" href="/">Theme</a>
</nav>