Joachim Nilsson
714ea88cc9
makepath(): Update doc, recommend mkpath() over this function
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-31 21:08:21 +01:00
Joachim Nilsson
add4d5d325
Fix #8 : constify mkpath() and makepath()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-31 21:08:21 +01:00
Joachim Nilsson
be6f276557
Fix #7 : inconsistent return value in mkpath()
...
When the required `dir` argument is missing `mkpath()` inconsistently
returns 1 instead of -1. Found by @jesponde
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-31 00:33:19 +01:00
Joachim Nilsson
ca3ea5ae92
Add unit test for mkpath() and makepath() funcs
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2016-06-06 15:31:23 +02:00
Joachim Nilsson
613d397161
Fix mkpath() to handle relative dirs
...
After input from both StackOverflow and Valery Frolov.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2016-05-23 09:15:50 +02:00
Joachim Nilsson
aab5a1145c
Remove Emacs version-control handling
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2016-05-07 22:35:49 +02:00
Joachim Nilsson
87d6fe822c
Make sure to start the makepath() tests clean.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-08-22 23:07:56 +02:00
Joachim Nilsson
57c49bfe0c
Add autotest for mkpath() and makepath()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-08-22 23:01:15 +02:00
Joachim Nilsson
1561e7567e
Add recursive mkpath() and makepath(), works like mkdir -p
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-07-09 01:25:19 +02:00