annotate netinstall/version.pl @ 4377:751d82f59283

Fix the union build--check that built-in macro function values are nil, not zero. 2008-01-02 Aidan Kehoe <kehoea@parhasard.net> * doc.c (Fbuilt_in_symbol_file): Don't check is fun zero in the condition, check that it's not nil. Fixes the union build; thank you Stephen.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 02 Jan 2008 11:16:16 +0100
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 }