view netinstall/version.pl @ 4808:53071486ff7a

Ignore file-too-large conditions when stat()ing a file for dired. The size isn't used anyway, but the mode is still filled in. Thanks to Henrique Martins for the patch. See the xemacs-patches thread beginning with message <8202.1261593067@monster.martins.cc>.
author Jerry James <james@xemacs.org>
date Thu, 07 Jan 2010 12:44:25 -0700
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";
  }
}