support_create_temp_directory: Align behavior with create_temp_file
authorFlorian Weimer <fweimer@redhat.com>
Sat, 18 Nov 2017 13:11:09 +0000 (14:11 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 18 Nov 2017 13:11:09 +0000 (14:11 +0100)
commit8adfb0eeffd1888f9b53b8d8677eb1656cd20e47
tree1b5cabdb49792cbee8839fee6d907b5d9513a4b0
parentdf0c40ee3a893238ac11f4c0d876a0c3b49d198d
support_create_temp_directory: Align behavior with create_temp_file

create_temp_file automatically supplies the test directory and the
XXXXXX suffix.  support_create_temp_directory required the caller to
specify them, which was confusing.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
ChangeLog
support/support_chroot.c
support/temp_file.c
support/temp_file.h
support/tst-xreadlink.c