From 390924883f7b0f869669e68fc798167c5a574092 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Aug 2005 23:56:47 +0000 Subject: r9461: Couple of very small fixes. (This used to be commit f91121bded545b414b873cd3f3824556d0d2a42e) --- source4/heimdal_build/asn1_deps.pl | 2 +- source4/pidl/pidl | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 11e6bad706..cc95fb2217 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -40,7 +40,7 @@ foreach() { } close(IN); print $prefix."_clean: \n"; -print "\t\@echo \"Deleting ASN1 ouput files generated from $file\""; +print "\t\@echo \"Deleting ASN1 output files generated from $file\""; print "\n\t\@rm -f $header"; foreach $c_file (@c_files) { print "\n\t\@rm -f $c_file"; diff --git a/source4/pidl/pidl b/source4/pidl/pidl index 9daf60eff4..14be05c042 100755 --- a/source4/pidl/pidl +++ b/source4/pidl/pidl @@ -347,6 +347,9 @@ $dcom } } -foreach my $filename (@ARGV) { - process_file($filename); +if (scalar(@ARGV) == 0) { + print "pidl: no input files\n"; + exit(0); } + +process_file($_) foreach (@ARGV); -- cgit