view netinstall/version.pl @ 2698:d8df26f08486

[xemacs-hg @ 2005-03-29 02:52:42 by james] Fix off-by-one error possibly causing backtrace overflow. See xemacs-patches message with ID <psbr954s83.fsf@diannao.ittc.ku.edu>.
author james
date Tue, 29 Mar 2005 02:52:50 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}