view netinstall/version.pl @ 2167:54e1ecdc5778

[xemacs-hg @ 2004-07-07 01:52:14 by stephent] fix buffer overrun crash <87llhwr3e3.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 07 Jul 2004 01:52:17 +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";
  }
}