mksymtbl.pl revision 247bf378605811d695e968dbe930a7fc45c0038e
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews; Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews; Permission to use, copy, modify, and/or distribute this software for any
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; purpose with or without fee is hereby granted, provided that the above
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; copyright notice and this permission notice appear in all copies.
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
b6384e6f77cc6743567fc01e4ecb88eab6e92894Mark Andrews; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
use diagnostics;
$rev =~ s/\$//g;
$rev =~ s/,v//g;
my %options;
my %symmap;
chop($ostype);
while (<SYMBOLS>) {
chop($symbol);
next if ($symbol =~ /\$/);
$nsyms++;
sub lhex {
close(TBLFILE);
close(SYMBOLS);