[Box Backup-commit] COMMIT r2990 - box/trunk/lib/server

subversion at boxbackup.org subversion at boxbackup.org
Sun Aug 28 17:07:25 BST 2011


Author: chris
Date: 2011-08-28 17:07:25 +0100 (Sun, 28 Aug 2011)
New Revision: 2990

Modified:
   box/trunk/lib/server/makeprotocol.pl.in
Log:
Output the names of protocol files being written.


Modified: box/trunk/lib/server/makeprotocol.pl.in
===================================================================
--- box/trunk/lib/server/makeprotocol.pl.in	2011-08-28 16:04:55 UTC (rev 2989)
+++ box/trunk/lib/server/makeprotocol.pl.in	2011-08-28 16:07:25 UTC (rev 2990)
@@ -141,9 +141,11 @@
 
 
 # open files
-my $h_filename = 'autogen_'.$protocol_name.'Protocol.h';
-open CPP,'>autogen_'.$protocol_name.'Protocol.cpp';
-open H,">$h_filename";
+my $filename_base = 'autogen_'.$protocol_name.'Protocol';
+print "Writing $filename_base.cpp\n";
+print "Writing $filename_base.h\n";
+open CPP, "> $filename_base.cpp";
+open H,   "> $filename_base.h";
 
 my $guardname = uc 'AUTOGEN_'.$protocol_name.'Protocol_H';
 
@@ -155,7 +157,7 @@
 
 #include <sstream>
 
-#include "$h_filename"
+#include "$filename_base.h"
 #include "IOStream.h"
 __E
 




More information about the Boxbackup-commit mailing list