[Box Backup-dev] COMMIT r890 - box/chris/merge/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Aug 31 23:32:17 BST 2006


Author: chris
Date: 2006-08-31 23:32:17 +0100 (Thu, 31 Aug 2006)
New Revision: 890

Modified:
   box/chris/merge/lib/common/makeexception.pl.in
Log:
Revert to trunk


Modified: box/chris/merge/lib/common/makeexception.pl.in
===================================================================
--- box/chris/merge/lib/common/makeexception.pl.in	2006-08-31 22:31:10 UTC (rev 889)
+++ box/chris/merge/lib/common/makeexception.pl.in	2006-08-31 22:32:17 UTC (rev 890)
@@ -1,11 +1,9 @@
 #!@PERL@
 
-use lib "../../infrastructure";
-use BoxPlatform;
-
 # global exception list file
 my $global_list = '../../ExceptionCodes.txt';
 
+
 my @exception;
 my @exception_desc;
 my $class;
@@ -48,8 +46,8 @@
 # write the code
 print "Generating $class exception...\n";
 
-open CPP,">autogen_${class}Exception.cpp.new" or die "Can't open cpp file for writing";
-open H,">autogen_${class}Exception.h.new" or die "Can't open h file for writing";
+open CPP,">autogen_${class}Exception.cpp" or die "Can't open cpp file for writing";
+open H,">autogen_${class}Exception.h" or die "Can't open h file for writing";
 
 # write header file
 my $guardname = uc 'AUTOGEN_'.$class.'EXCEPTION_H';
@@ -202,9 +200,6 @@
 close H;
 close CPP;
 
-update_if_changed("autogen_${class}Exception.cpp");
-update_if_changed("autogen_${class}Exception.h");
-
 # update the global exception list
 my $list_before;
 my $list_after;




More information about the Boxbackup-dev mailing list