summaryrefslogtreecommitdiff
path: root/lib/libcrypto/objects
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-08-30 12:15:43 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-08-30 12:15:43 +0000
commite9519b4df5a33bb648e6a7f092af5a31b25e449b (patch)
treee01ee0cf28e919ef08ede055d8b6e53e1174e024 /lib/libcrypto/objects
parent401f0dfe6a00abfaa7d593b280061b533eb98319 (diff)
do not modify input files, allows ro source builds; tested by fries@
Diffstat (limited to 'lib/libcrypto/objects')
-rw-r--r--lib/libcrypto/objects/objects.pl13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libcrypto/objects/objects.pl b/lib/libcrypto/objects/objects.pl
index 76c06cc8f9a..76bb8da677b 100644
--- a/lib/libcrypto/objects/objects.pl
+++ b/lib/libcrypto/objects/objects.pl
@@ -107,12 +107,13 @@ while (<IN>)
}
close IN;
-open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
-foreach (sort { $a <=> $b } keys %nidn)
- {
- print NUMOUT $nidn{$_},"\t\t",$_,"\n";
- }
-close NUMOUT;
+#XXX don't modify input files
+#open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
+#foreach (sort { $a <=> $b } keys %nidn)
+# {
+# print NUMOUT $nidn{$_},"\t\t",$_,"\n";
+# }
+#close NUMOUT;
open (OUT,">$ARGV[2]") || die "Can't open output file $ARGV[2]";
print OUT <<'EOF';