annotate netinstall/version.pl @ 5002:0cd784a6ec44

fix some compile bugs of Aidan's -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-07 Ben Wing <ben@xemacs.org> * fns.c: Qlist, Qstring mistakenly declared twice. * fns.c (mapcarX): (void) cast needed to avoid compile problem.
author Ben Wing <ben@xemacs.org>
date Sun, 07 Feb 2010 07:10:01 -0600
parents 3078fd1074e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 while (<STDIN>) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 if (/^\$Revision:\s*([0-9\.]*)/) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 print "char *version = \"$1\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 }
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 }