Changed terminal escape character to \033 instead of the GCC specific \e
Include limits.h in options.c to make PATH_MAX available
Cast const char* to char* to avoid compiler warning
Fixed range check in fgetln when realloc()ing

- Segfaults were happening on Solaris when realloc()ing the buffer,
  presumably after writing an extra byte past the allocated memory and
  corrupting the heap
search: Avoid segfault when given an invalid base

This patch avoids an easily reproduced segmentation violation when
base_path is NULL (as a consequence of being an invalid/non-existent)
path.

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>
Merge pull request #360 from catharsis/fix-segfault-on-invalid-basepath

search: Avoid segfault when given an invalid base
Add test to check that we don't die when searching bad paths.
Set base_path_len to 0 if base_path is NULL. Also: Ternary operator, oh yeah!
I forgot to clang-format the header files.
clang-format uthash.h
Bump version.
Merge pull request #358 from elliot-forty-two/pull-portability

Portability