summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-06-08 15:20:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:59 -0500
commite3a6c6be79326578a1e9c7cb8547234eab62235f (patch)
tree44f75558da5995fb939ebac55cdf6b847c82159b /source4/pidl
parent7613015f47f6e45ee9ac4f652f773bd2980fc788 (diff)
downloadsamba-e3a6c6be79326578a1e9c7cb8547234eab62235f.tar.gz
samba-e3a6c6be79326578a1e9c7cb8547234eab62235f.tar.bz2
samba-e3a6c6be79326578a1e9c7cb8547234eab62235f.zip
r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar
(This used to be commit 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/TODO2
-rw-r--r--source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm4
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm2
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm4
-rwxr-xr-xsource4/pidl/pidl4
5 files changed, 8 insertions, 8 deletions
diff --git a/source4/pidl/TODO b/source4/pidl/TODO
index c7ae61a890..bfbf5afc54 100644
--- a/source4/pidl/TODO
+++ b/source4/pidl/TODO
@@ -15,4 +15,4 @@
- allow data structures outside of interfaces
-- mem_ctx in the interface rather then as struct ndr member.
+- mem_ctx in the interface rather than as struct ndr member.
diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
index 02319a0aa9..e7f2922c7f 100644
--- a/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
+++ b/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
@@ -49,7 +49,7 @@ Generate a custom header field with specified properties.
Force the use of new_hf_name when the parser generator was going to
use old_hf_name.
-This can be used in conjunction with HF_FIELD in order to make more then
+This can be used in conjunction with HF_FIELD in order to make more than
one element use the same filter name.
=item I<STRIP_PREFIX> prefix
@@ -78,7 +78,7 @@ Override the text shown when a bitmap boolean value is enabled or disabled.
Force pidl to not generate a particular function but allow the user
to write a function manually. This can be used to remove the function
-for only one level for a particular element rather then all the functions and
+for only one level for a particular element rather than all the functions and
ett/hf variables for a particular element as the NOEMIT command does.
=back
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm
index a6b4b38cdf..57fa3867f7 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm
@@ -35,7 +35,7 @@ sub Align($$)
{
my ($a,$b) = @_;
- # Only align if previous element was smaller then current one
+ # Only align if previous element was smaller than current one
if ($$a < $b) {
pidl "if (!prs_align_custom(ps, $b))";
pidl "\treturn False;";
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 77482685b7..912c4b74f9 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -836,7 +836,7 @@ sub ParseDataPush($$$$$)
{
my ($e,$l,$ndr,$var_name,$ndr_flags) = @_;
- # strings are passed by value rather then reference
+ # strings are passed by value rather than reference
if (not Parse::Pidl::Typelist::is_scalar($l->{DATA_TYPE}) or Parse::Pidl::Typelist::scalar_is_reference($l->{DATA_TYPE})) {
$var_name = get_pointer_to($var_name);
}
@@ -2101,7 +2101,7 @@ sub ParseFunctionPull($)
}
# allocate the "simple" out ref variables. FIXME: Shouldn't this have it's
- # own flag rather then be in NDR_IN ?
+ # own flag rather than be in NDR_IN ?
foreach my $e (@{$fn->{ELEMENTS}}) {
next unless (grep(/out/, @{$e->{DIRECTION}}));
diff --git a/source4/pidl/pidl b/source4/pidl/pidl
index a7838791b5..6b64541156 100755
--- a/source4/pidl/pidl
+++ b/source4/pidl/pidl
@@ -61,7 +61,7 @@ directory.
=item I<--parse-idl-tree>
Read internal tree structure from input files rather
-then assuming they contain IDL.
+than assuming they contain IDL.
=item I<--dump-idl>
@@ -101,7 +101,7 @@ packet-dcerpc-OUTNAME.h.
Pidl will read additional data from an ethereal conformance file if present.
Such a file should have the same location as the IDL file but with the
-extension I<cnf> rather then I<idl>. See L<Parse::Pidl::Ethereal::Conformance>
+extension I<cnf> rather than I<idl>. See L<Parse::Pidl::Ethereal::Conformance>
for details on the format of this file.
=item I<--diff>