mbox

[v2,1/5] util: refactor fwrite

Message ID 1500315582-17181-1-git-send-email-jonatan.schlag@ipfire.org
State Superseded
Headers

Message

Jonatan Schlag July 18, 2017, 4:19 a.m. UTC
  This functions now:
	- return an error when the destination is a directory
	- creates the destination if the destination not exist

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/functions/functions.util | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)