Subject: Developers of Sympa
List archive
- From: Sergiy Zhuk <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-dev] include_list fallback
- Date: Thu, 10 Jan 2002 21:57:36 -0800 (PST)
hi
I couldn't wait, so here's the patch which implements the fallback
mechanism ;)
--
rgds,
serge
Index: List.pm
===================================================================
--- List.pm 2002/01/11 04:42:54 1.14
+++ List.pm 2002/01/11 05:53:55
@@ -5212,6 +5212,14 @@
undef $ref;
untie %users;
close DB_FH;
+
+ unless (defined $total) {
+ if (-f $db_file.'old') {
+ unlink $db_file;
+ rename $db_file.'old', $db_file;
+ $total = 0;
+ }
+ }
}
unless ($ref = tie %users, 'DB_File', $db_file, O_CREAT|O_RDWR, 0600,
$btree) {
-
List::_load_users_include() bug,
Sergiy Zhuk, 01/11/2002
-
include_list fallback,
Sergiy Zhuk, 01/11/2002
- Re: [sympa-dev] include_list fallback, Sergiy Zhuk, 01/11/2002
-
Re: [sympa-dev] include_list fallback,
Aumont, 01/11/2002
- Re: [sympa-dev] include_list fallback, Sergiy Zhuk, 01/11/2002
-
include_list fallback,
Sergiy Zhuk, 01/11/2002
Archive powered by MHonArc 2.6.19+.