sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 6316637baed7e8d7ae643c11d921a8f99a66bd71
parent cb20de720ba26bd458c7f4c7997f5039f0d4299e
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sat, 11 Jun 2016 00:26:26 +0200

sbofind: enable testing of race condition

Diffstat:
Msbofind | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sbofind b/sbofind @@ -70,6 +70,7 @@ sub perform_search { my $tags_file = "$config{SBO_HOME}/repo/TAGS.txt"; my @names; if (-f $tags_file) { + _race::cond('$tags_file may be deleted after -f check'); my ($t_fh, $t_exit) = open_read "$config{SBO_HOME}/repo/TAGS.txt"; unless ($t_exit) { while (my $line = <$t_fh>) {