Your message dated Thu, 26 Jun 2008 22:00:11 +1000
with message-id <[EMAIL PROTECTED]>
and subject line closing old bugs
has caused the Debian Bug report #372151,
regarding dlocate: please rename atomically
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
372151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372151
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dlocate
Version: 0.5-0.2
Tags: patch

Included is a patch to make the rename work atomically.

--- /usr/sbin/update-dlocatedb  2005-11-25 11:02:24.000000000 -0500
+++ /tmp/update-dlocatedb       2006-06-01 10:46:23.000000000 -0400
@@ -24,5 +24,6 @@
 }    
 close FRCODE ;
 
-rename("$dbfile","$dbfile.old") if ( -e $dbfile ) ;
+unlink("$dbfile.old") if ( -e "$dbfile.old" ) ;
+link("$dbfile", "$dbfile.old") if ( -e $dbfile ) ;
 rename("$dbfile.new","$dbfile") ;


--- End Message ---
--- Begin Message ---
all these bugs were fixed in NMUs ages ago.

craig

-- 
craig sanders <[EMAIL PROTECTED]>


--- End Message ---

Reply via email to