config root man

Current Path : /usr/src/crypto/openssl/util/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/crypto/openssl/util/err-ins.pl

#!/usr/local/bin/perl
#
# tack error codes onto the end of a file
#

open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n";
@err=<ERR>;
close(ERR);

open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n";

@out="";
while (<IN>)
	{
	push(@out,$_);
	last if /BEGIN ERROR CODES/;
	}
close(IN);

open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n";
print OUT @out;
print OUT @err;
print OUT <<"EOF";
 
#ifdef  __cplusplus
}
#endif
#endif

EOF
close(OUT);



Man Man