shared: add file_create_dated() helper
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 12 Feb 2015 10:52:21 +0000 (12:52 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 25 Feb 2015 12:47:50 +0000 (14:47 +0200)
commit899b50b126e7d87f1e4f1da51d7ad725393c9103
tree8d1a9a6a0ee58e8942a02ed22dde54cc7087d86a
parentc647ed79decf2cdb081dcb3dc3deadbcbcf797f1
shared: add file_create_dated() helper

For easy creation of unique new files. I'm looking at you,
screenshooter.

This code is based on timeline.c weston_timeline_do_open().

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Tested-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Makefile.am
shared/file-util.c [new file with mode: 0644]
shared/file-util.h [new file with mode: 0644]