Commits


fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)


error.c: use <limits.h> instead of <sys/param.h>


introduce got_error_path()


rename got_error_prefix_errno() to got_error_from_errno()


got_error_set_errno: take a char arg to pass to got_error_prefix_errno $> got rm a got: : No such file or directory becomes $> got rm a got: /path/to/a: No such file or directory


got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


error: introduce got_error_prefix_errno for better errno messages


error: fix definition of got_error_from_errno


add got_error_uuid()


add got_error_not_ref()


remove unnecessary cast


introduce got errors with custom messages; add one for ERR_NO_OBJ


make 'tog log' use background thread and introduce global mutex


simplify got_error_from_errno()


don't forget to set error message in got_error_from_errno()