Ethereal-dev: [Ethereal-dev] Bug in make-version.pl?

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

From: Thomas Boehne <TBoehne@xxxxxxxx>
Date: Thu, 16 Dec 2004 14:08:37 +0100
I assume that if version.conf is not present, make-version.pl should
issue a warning. However, it does not seem to work, and I don't know
perl well enough to fix it properly.

Please check if my fix is correct!

I was also wondering how I can build an ethereal release from my svn
tree in Windows. Do I have to checkout the release version or can I do
some magic to build SVN 12759 as release? I tried renaming ./.svn to
something different, but that did not seem to work. 


Index: make-version.pl
===================================================================
--- make-version.pl (revision 12759)
+++ make-version.pl (working copy)
@@ -186,8 +186,8 @@
   }
  }
 
+ (open(FILE, "<$vconf_file") || print STDERR "Version configuration file 
$vconf_file not found.  Using defaults.\n") && return 1;
 
- open(FILE, "<$vconf_file") || print STDERR "Version configuration file 
$vconf_file not found.  Using defaults.\n" && return 1;
 
  while (<FILE>) {
   chomp;


Sincerely yours, 
Thomas Böhne

-- 
Jäger Computergesteuerte Messtechnik GmbH
Thomas Böhne
Rheinstraße 2-4
64653 Lorsch
Germany
Phone: +49-6251-9632-0