[PATCH] support_create_temp_directory: Align behavior with create_temp_file
Florian Weimer
fweimer@redhat.com
Sat Nov 18 12:38:00 GMT 2017
On 11/17/2017 06:22 PM, Jonathan Nieder wrote:
> Florian Weimer wrote:
>
>> 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.
>>
>> 2017-11-17 Florian Weimer <fweimer@redhat.com>
>>
>> * support/temp_file.c (support_create_temp_directory): Use
>> test_dir and do not rely on the presence of the XXXXXX suffix.
>> * support/temp_file.h (support_create_temp_directory): Update
>> comment.
>> * support/tst-xreadlink.c (do_test): Adjust.
>
> Makes sense.
I missed another call in support_chroot_create, so I'm checking in the
attached version instead.
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tempdir.patch
Type: text/x-patch
Size: 3300 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171118/555b4a4c/attachment.bin>
More information about the Libc-alpha
mailing list