aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Move utility functions to util.cTharre2016-10-311-0/+41
|
* Improve error message handling for debuggingTharre2014-12-051-1/+1
|
* Rename diem to fatal to further confuse matters.Tharre2014-11-241-3/+3
| | | | | | It's actually pretty easy now, fatal() is used as a short cut for appending the strerror'd errno, while die() is just the generic version of printing errors that behaves just like fprintf(stderr, msg) + exit().
* Set _XOPEN_SOURCE to 600 to make fix FreeBSD buildTharre2014-11-231-1/+1
|
* Refactor error handling system by using die()Tharre2014-11-161-16/+29
| | | | Defined error messages have also been replaced with string literals.
* Fix indentationTharre2014-11-111-36/+36
|
* Add license notice to README and source filesTharre2014-08-161-0/+8
|
* Add filepath.c, refactor out parse_shebang() and rewrite most of the error ↵Tharre2014-07-291-22/+8
| | | | checking code to use predefined error macros
* safe_strdup() and variable progname in util.cTharre2014-04-251-21/+17
|
* Convert __FILENAME__ to _FILENAME so it follows standard conventionsTharre2014-04-251-1/+1
|
* Rewrote malloc() and other wrappersTharre2014-04-161-3/+22
|
* Convert all tabs to whitespacesTharre2014-04-141-32/+32
|
* Initial codebaseTharre2014-04-081-0/+60