view netinstall/version.pl @ 4322:f70e56bb52a7

src/search.c (simple_search): Fix underrun in reverse search. Add braces to avoid future whitespace bogosity. (search_buffer): Clarify decision to use boyer_moore or not. tests/reproduce-bugs.el: Bug 10 to test for the underrun.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 10 Dec 2007 01:13:36 -0800 (2007-12-10)
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";
  }
}