diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 16:46:39 +0100 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 16:46:39 +0100 |
| commit | 478e6a9023c51521b47701673c8335f51dbfbdec (patch) | |
| tree | 399e1b9a0e2d4ddf4957d26cf163c3e58ea1e3c1 /bb.h | |
| parent | 2086cc6598b354bf298b802368807ac66d26fd21 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
