Ethereal-dev: [Ethereal-dev] process-x11-fields.pl patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Fri, 26 Mar 2004 22:04:45 +0100
Most generated files have this comment, so should this file.

--- ethereal-2004-03-26/process-x11-fields.pl   Mon Jun 18 03:17:58 2001
+++ process-x11-fields.pl       Fri Mar 26 01:46:42 2004
@@ -29,6 +29,10 @@

 open(DECL, ">x11-declarations.h") || die;
 open(REG, ">x11-register-info.h") || die;
+
+$comment = "/* This file is generated by $0, do not edit. */\n\n";
+print DECL $comment;
+print REG  $comment;

 $prefix = '';
 $subfieldStringLength = 0;


--gv