aboutsummaryrefslogtreecommitdiff
path: root/bb.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-11-01 16:46:39 +0100
committerBruce Hill <bruce@bruce-hill.com>2019-11-01 16:46:39 +0100
commit478e6a9023c51521b47701673c8335f51dbfbdec (patch)
tree399e1b9a0e2d4ddf4957d26cf163c3e58ea1e3c1 /bb.h
parent2086cc6598b354bf298b802368807ac66d26fd21 (diff)
Cleanup/overhaul of how symlinks are handled and how paths are parsed.
Now `bb` will fail on `bb nonexistant/..` and will display `/foo/baz/atfoo/` as `/foo/` if `atfoo` is a symlink to `/foo`
Diffstat (limited to 'bb.h')
-rw-r--r--bb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bb.h b/bb.h
index c5378a9..1a3bd70 100644
--- a/bb.h
+++ b/bb.h
@@ -206,7 +206,7 @@ static int is_simple_bbcmd(const char *s);
static entry_t* load_entry(bb_t *bb, const char *path, int clear_dots);
static inline int matches_cmd(const char *str, const char *cmd);
static void* memcheck(void *p);
-static void normalize_path(const char *root, const char *path, char *pbuf, int clear_dots);
+static void normalize_path(const char *root, const char *path, char *pbuf);
static int populate_files(bb_t *bb, const char *path);
static void print_bindings(int fd);
static void run_bbcmd(bb_t *bb, const char *cmd);