From: Don Armstrong <don@donarmstrong.com>
Date: Tue, 13 Mar 2012 22:16:56 +0000 (-0700)
Subject: unlock nextnumber after overwriting
X-Git-Tag: release/2.6.0~415^2
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=51ad28535bcc0bddf55b8d763bd2a07f146c961f;p=debbugs.git

unlock nextnumber after overwriting
---

diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm
index e70643fb..0d97a323 100644
--- a/Debbugs/Status.pm
+++ b/Debbugs/Status.pm
@@ -547,6 +547,7 @@ sub new_bug {
     close $nn_fh;
     overwritefile("nextnumber",
 		  ($nn+1)."\n");
+    unfilelock();
     my $nn_hash = get_hashname($nn);
     use IO::File;
     my $t_fh = IO::File->new("/home/don/temp.txt",'a') or die "Unable to open ~don/temp.txt for writing: $!";