diff options
author | Eric Wong <e@80x24.org> | 2021-03-28 09:01:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-28 23:01:37 +0000 |
commit | 80f4192574065106ae72a7a73ee0f02ebd86708a (patch) | |
tree | af6889740669aa8e05bdef4ddf932f562b3a444b /lib/PublicInbox/SolverGit.pm | |
parent | 8c8bd22ec8c74a3bf66a611a2a0c2d4d76a42ddb (diff) | |
download | public-inbox-80f4192574065106ae72a7a73ee0f02ebd86708a.tar.gz |
File::Temp only requires four 'X' characters (unlike mkstemp(3), which requires six). So only so only give it 4 to avoid an 80-column violation and maybe save metadata space on FSes.
Diffstat (limited to 'lib/PublicInbox/SolverGit.pm')
-rw-r--r-- | lib/PublicInbox/SolverGit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm index 1d70975e..92106e75 100644 --- a/lib/PublicInbox/SolverGit.pm +++ b/lib/PublicInbox/SolverGit.pm @@ -681,7 +681,7 @@ sub solve ($$$$$) { $self->{todo} = [ { %$hints, oid_b => $oid_want } ]; $self->{patches} = []; # [ $di, $di, ... ] $self->{found} = {}; # { abbr => [ ::Git, oid, type, size, $di ] } - $self->{tmp} = File::Temp->newdir("solver.$oid_want-XXXXXXXX", TMPDIR => 1); + $self->{tmp} = File::Temp->newdir("solver.$oid_want-XXXX", TMPDIR => 1); dbg($self, "solving $oid_want ..."); if (my $async = $env->{'pi-httpd.async'}) { |