aboutsummaryrefslogtreecommitdiffstats
path: root/src/filepath.c
Commit message (Collapse)AuthorAgeFilesLines
* Use full path instead of one concatenated filenameTharre2015-05-241-43/+12
| | | | | Creation of the redo store (.redo/) is now silent, that should probably be reimplemented in a better way at a later time.
* Replace make_relative() with relpath()Tharre2015-02-151-16/+22
| | | | | Also improve the documentation for this function, and add a few examples to clarify what it does (and what not).
* Rename diem to fatal to further confuse matters.Tharre2014-11-241-5/+5
| | | | | | 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().
* Refactor error handling system by using die()Tharre2014-11-161-7/+7
| | | | Defined error messages have also been replaced with string literals.
* Fix indentationTharre2014-11-111-89/+89
|
* Some refactoring and small fixes.Tharre2014-11-111-2/+8
|
* Add license notice to README and source filesTharre2014-08-161-0/+8
|
* Make redo actually create the directories it needsTharre2014-08-141-5/+23
|
* Add filepath.c, refactor out parse_shebang() and rewrite most of the error ↵Tharre2014-07-291-0/+121
checking code to use predefined error macros