bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool.py: Optimize directory creation.


From: Collin Funk
Subject: gnulib-tool.py: Optimize directory creation.
Date: Mon, 15 Apr 2024 09:21:12 -0700
User-agent: Mozilla Thunderbird

Hi Bruno,

Separating this from the other thread so it is easier to follow.

This patch handles the directory creation upfront instead of checking
for every single file, as you mentioned earlier [1].

The previously unused variable was slightly incorrect. We have to join
the directory name with self.testdir. I ran it without this and the
directories were made in the current working directory, causing the
tests to crash.

[1] https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00245.html

Collin

Attachment: 0001-gnulib-tool.py-Optimize-directory-creation.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]