summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-21 23:56:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:18 -0500
commit390924883f7b0f869669e68fc798167c5a574092 (patch)
tree0cd3899c6162aab872841e5b130e05138870729c /source4
parent59b13f9a1d684a632c2c73352f0ec08a63bc0913 (diff)
downloadsamba-390924883f7b0f869669e68fc798167c5a574092.tar.gz
samba-390924883f7b0f869669e68fc798167c5a574092.tar.bz2
samba-390924883f7b0f869669e68fc798167c5a574092.zip
r9461: Couple of very small fixes.
(This used to be commit f91121bded545b414b873cd3f3824556d0d2a42e)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl2
-rwxr-xr-xsource4/pidl/pidl7
2 files changed, 6 insertions, 3 deletions
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(<IN>) {
}
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);