From e3a6c6be79326578a1e9c7cb8547234eab62235f Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 8 Jun 2006 15:20:05 +0000 Subject: [PATCH] r16100: Patch from Michael Wood : s/then/than/ for correct grammar (This used to be commit 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8) --- BUGS.txt | 2 +- NEWS | 8 ++++---- WHATSNEW.txt | 2 +- source4/auth/ntlmssp/ntlmssp_sign.c | 2 +- source4/heimdal/lib/gssapi/sequence.c | 4 ++-- source4/heimdal/lib/krb5/crypto.c | 2 +- source4/heimdal/lib/krb5/get_for_creds.c | 2 +- source4/heimdal/lib/krb5/heim_threads.h | 2 +- source4/heimdal/lib/krb5/init_creds_pw.c | 4 ++-- source4/heimdal/lib/krb5/ticket.c | 2 +- source4/intl/linux-msg.sed | 2 +- source4/lib/ldb/common/ldb_dn.c | 2 +- source4/lib/ldb/modules/ldb_map.h | 4 ++-- source4/lib/popt/popthelp.c | 2 +- source4/lib/registry/TODO | 2 +- source4/lib/registry/man/regtree.1.xml | 2 +- source4/lib/registry/reg_backend_nt4.c | 2 +- source4/lib/registry/registry.h | 4 ++-- source4/libcli/dgram/mailslot.c | 4 ++-- source4/librpc/idl/oxidresolver.idl | 2 +- source4/pidl/TODO | 2 +- source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm | 4 ++-- source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm | 2 +- source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 4 ++-- source4/pidl/pidl | 4 ++-- source4/wrepl_server/wrepl_server.c | 2 +- 26 files changed, 37 insertions(+), 37 deletions(-) diff --git a/BUGS.txt b/BUGS.txt index 5eab0ac8eb6..906b2918ee3 100644 --- a/BUGS.txt +++ b/BUGS.txt @@ -1,5 +1,5 @@ Samba 4 is still feature incomplete. If you are using it for anything other -then education you are insane. +than education you are insane. Please file bug reports at https://bugzilla.samba.org/, product: Samba4. Please include as much information as possible, such as SVN revision number diff --git a/NEWS b/NEWS index 3e35a05ed89..44c84a46004 100644 --- a/NEWS +++ b/NEWS @@ -12,7 +12,7 @@ from Samba 3 is available in source/setup/upgrade. Removal of nmbd and introduction of process models ================================================== -smbd now implements several network protocols other then just CIFS and +smbd now implements several network protocols other than just CIFS and DCE/RPC. nmbd's functionality has been merged into smbd. smbd supports various 'process models' that specify how concurrent connections are handled (when to fork, use threads, etc). @@ -24,7 +24,7 @@ called LDB (see ldb(7) for more info). Much improved SWAT ================== -SWAT has had some rather large improvements and is now more then just a +SWAT has had some rather large improvements and is now more than just a direct editor for smb.conf. Its layout has been improved. SWAT can now also be used for editing run-time data - maintaining user information, provisioning, etc. TLS is supported out of the box. @@ -368,7 +368,7 @@ The following parameters have been added: Default: Set at compile-time + ntvfs handler - Backend to the NT VFS to use (more then one can be specified). Available + Backend to the NT VFS to use (more than one can be specified). Available backends include: - posix: @@ -433,7 +433,7 @@ The following parameters have been added: + client use spnego principal Tells the client to use the Kerberos service principal specified by the - server during the security protocol negotation rather then + server during the security protocol negotation rather than looking up the principal itself (cifs/hostname). Default: false diff --git a/WHATSNEW.txt b/WHATSNEW.txt index e2d961ce519..ef131d2f1b6 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -14,7 +14,7 @@ Release date: 22 March 2006 * Call the wins hook script again (metze) - * Make sure no more then 25 records are added in the WINS database (metze) + * Make sure no more than 25 records are added in the WINS database (metze) * Documentation updates (jelmer) diff --git a/source4/auth/ntlmssp/ntlmssp_sign.c b/source4/auth/ntlmssp/ntlmssp_sign.c index 0999a85a31e..2e238025194 100644 --- a/source4/auth/ntlmssp/ntlmssp_sign.c +++ b/source4/auth/ntlmssp/ntlmssp_sign.c @@ -32,7 +32,7 @@ #define SRV_SEAL "session key to server-to-client sealing key magic constant" /** - * Some notes on then NTLM2 code: + * Some notes on the NTLM2 code: * * NTLM2 is a AEAD system. This means that the data encrypted is not * all the data that is signed. In DCE-RPC case, the headers of the diff --git a/source4/heimdal/lib/gssapi/sequence.c b/source4/heimdal/lib/gssapi/sequence.c index 2851b0a6c83..35a9b924afd 100755 --- a/source4/heimdal/lib/gssapi/sequence.c +++ b/source4/heimdal/lib/gssapi/sequence.c @@ -159,8 +159,8 @@ _gssapi_msg_order_check(struct gss_msg_order *o, OM_uint32 seq_num) r = (o->flags & (GSS_C_REPLAY_FLAG|GSS_C_SEQUENCE_FLAG))==GSS_C_REPLAY_FLAG; - /* sequence number larger then largest sequence number - * or smaller then the first sequence number */ + /* sequence number larger than largest sequence number + * or smaller than the first sequence number */ if (seq_num > o->elem[0] || seq_num < o->first_seq || o->length == 0) diff --git a/source4/heimdal/lib/krb5/crypto.c b/source4/heimdal/lib/krb5/crypto.c index 876cbb5192b..a3c58051f9a 100644 --- a/source4/heimdal/lib/krb5/crypto.c +++ b/source4/heimdal/lib/krb5/crypto.c @@ -2299,7 +2299,7 @@ _krb5_aes_cts_encrypt(const unsigned char *in, unsigned char *out, /* * In the framework of kerberos, the length can never be shorter - * then at least one blocksize. + * than at least one blocksize. */ if (encryptp) { diff --git a/source4/heimdal/lib/krb5/get_for_creds.c b/source4/heimdal/lib/krb5/get_for_creds.c index 661d05663b7..f042cdb5735 100644 --- a/source4/heimdal/lib/krb5/get_for_creds.c +++ b/source4/heimdal/lib/krb5/get_for_creds.c @@ -376,7 +376,7 @@ krb5_get_forwarded_creds (krb5_context context, cred.enc_part.cipher.length = buf_size; } else { /* - * Here older versions then 0.7.2 of Heimdal used the local or + * Here older versions than 0.7.2 of Heimdal used the local or * remote subkey. That is wrong, the session key should be * used. Heimdal 0.7.2 and newer have code to try both in the * receiving end. diff --git a/source4/heimdal/lib/krb5/heim_threads.h b/source4/heimdal/lib/krb5/heim_threads.h index 3ebe66beee1..41f0f83306b 100755 --- a/source4/heimdal/lib/krb5/heim_threads.h +++ b/source4/heimdal/lib/krb5/heim_threads.h @@ -53,7 +53,7 @@ /* * NetBSD have a thread lib that we can use that part of libc that * works regardless if application are linked to pthreads or not. - * NetBSD newer then 2.99.11 just use pthread.h, and the same thing + * NetBSD newer than 2.99.11 just use pthread.h, and the same thing * will happen. */ #include diff --git a/source4/heimdal/lib/krb5/init_creds_pw.c b/source4/heimdal/lib/krb5/init_creds_pw.c index 70b6c3e4c33..c05386ec238 100644 --- a/source4/heimdal/lib/krb5/init_creds_pw.c +++ b/source4/heimdal/lib/krb5/init_creds_pw.c @@ -1211,7 +1211,7 @@ init_cred_loop(krb5_context context, ctx->pk_nonce = ctx->nonce; /* - * Increase counter when we want other pre-auth types then + * Increase counter when we want other pre-auth types than * KRB5_PA_ENC_TIMESTAMP. */ #define MAX_PA_COUNTER 3 @@ -1391,7 +1391,7 @@ krb5_get_init_creds(krb5_context context, case KRB5KDC_ERR_KEY_EXPIRED : /* try to avoid recursion */ - /* don't try to change password where then where none */ + /* don't try to change password where there where none */ if (prompter == NULL || ctx.password == NULL) goto out; diff --git a/source4/heimdal/lib/krb5/ticket.c b/source4/heimdal/lib/krb5/ticket.c index b3efeb39d3a..99cb778722a 100644 --- a/source4/heimdal/lib/krb5/ticket.c +++ b/source4/heimdal/lib/krb5/ticket.c @@ -112,7 +112,7 @@ find_type_in_ad(krb5_context context, if (level > 9) { krb5_set_error_string(context, "Authorization data nested deeper " - "then %d levels, stop searching", level); + "than %d levels, stop searching", level); ret = ENOENT; /* XXX */ goto out; } diff --git a/source4/intl/linux-msg.sed b/source4/intl/linux-msg.sed index 5918e720a9a..403b3ad4555 100644 --- a/source4/intl/linux-msg.sed +++ b/source4/intl/linux-msg.sed @@ -68,7 +68,7 @@ $set 1 # Automatically created by po2msg.sed s/\(.*\)"\n\([0-9]*\)/$ #\2 Original Message:(\1)/p } # -# The .msg file contains, other then the .po file, only the translations +# The .msg file contains, other than the .po file, only the translations # but each given a unique ID. Starting from 1 and incrementing by 1 for # each message we assign them to the messages. # It is important that the .po file used to generate the cat-id-tbl.c file diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index b90d3d8c9b6..a659f676c6d 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -672,7 +672,7 @@ static struct ldb_dn_component ldb_dn_copy_component(void *mem_ctx, struct ldb_d /* copy specified number of elements of a dn into a new one element are copied from top level up to the unique rdn - num_el may be greater then dn->comp_num (see ldb_dn_make_child) + num_el may be greater than dn->comp_num (see ldb_dn_make_child) */ struct ldb_dn *ldb_dn_copy_partial(void *mem_ctx, const struct ldb_dn *dn, int num_el) { diff --git a/source4/lib/ldb/modules/ldb_map.h b/source4/lib/ldb/modules/ldb_map.h index 42eba23aa62..36165a260bd 100644 --- a/source4/lib/ldb/modules/ldb_map.h +++ b/source4/lib/ldb/modules/ldb_map.h @@ -34,9 +34,9 @@ * that any upper layers will use. * * All local attributes will have to have a definition. Not all remote - * attributes need a definition as LDB is a lot less stricter then LDAP + * attributes need a definition as LDB is a lot less strict than LDAP * (in other words, sending unknown attributes to an LDAP server hurts us, - * returning too much attributes in ldb_search() doesn't) + * while returning too many attributes in ldb_search() doesn't) */ struct ldb_map_context; diff --git a/source4/lib/popt/popthelp.c b/source4/lib/popt/popthelp.c index 4d8f0efc245..7ae3de7fb55 100644 --- a/source4/lib/popt/popthelp.c +++ b/source4/lib/popt/popthelp.c @@ -678,7 +678,7 @@ static int showShortOptions(const struct poptOption * opt, FILE * fp, /*@globals fileSystem @*/ /*@modifies *str, *fp, fileSystem @*/ { - char * s = alloca(300); /* larger then the ascii set */ + char * s = alloca(300); /* larger than the ascii set */ s[0] = '\0'; /*@-branchstate@*/ /* FIX: W2DO? */ diff --git a/source4/lib/registry/TODO b/source4/lib/registry/TODO index 518edf67958..562ed5657ed 100644 --- a/source4/lib/registry/TODO +++ b/source4/lib/registry/TODO @@ -29,6 +29,6 @@ gregedit.c: - support for adding/deleting keys - support for security descriptors -- pass parsed paths around rather then strings (i.e. just a list of strings) +- pass parsed paths around rather than strings (i.e. just a list of strings) - integrate various registry tools ? - finish new patchfile code diff --git a/source4/lib/registry/man/regtree.1.xml b/source4/lib/registry/man/regtree.1.xml index 98e58070d19..aa31855a2bb 100644 --- a/source4/lib/registry/man/regtree.1.xml +++ b/source4/lib/registry/man/regtree.1.xml @@ -30,7 +30,7 @@ The regtree utility prints out all the contents of a Windows registry file. Subkeys are printed with one level - more indentation then their parents. + more indentation than their parents. diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c index d1d19f904b7..a9759b8e68c 100644 --- a/source4/lib/registry/reg_backend_nt4.c +++ b/source4/lib/registry/reg_backend_nt4.c @@ -463,7 +463,7 @@ static WERROR regf_get_value (TALLOC_CTX *ctx, const struct registry_key *key, i } if ((*ret)->data.length < vk->data_length) { - DEBUG(1, ("Read data less then indicated data length!\n")); + DEBUG(1, ("Read data less than indicated data length!\n")); } return WERR_OK; diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h index 80b412a3147..6b3675b0ee7 100644 --- a/source4/lib/registry/registry.h +++ b/source4/lib/registry/registry.h @@ -103,11 +103,11 @@ struct hive_operations { WERROR (*num_values) (const struct registry_key *, uint32_t *count); WERROR (*get_subkey_by_index) (TALLOC_CTX *, const struct registry_key *, int idx, struct registry_key **); - /* Can not contain more then one level */ + /* Can not contain more than one level */ WERROR (*get_subkey_by_name) (TALLOC_CTX *, const struct registry_key *, const char *name, struct registry_key **); WERROR (*get_value_by_index) (TALLOC_CTX *, const struct registry_key *, int idx, struct registry_value **); - /* Can not contain more then one level */ + /* Can not contain more than one level */ WERROR (*get_value_by_name) (TALLOC_CTX *, const struct registry_key *, const char *name, struct registry_value **); /* Security control */ diff --git a/source4/libcli/dgram/mailslot.c b/source4/libcli/dgram/mailslot.c index 775f6623708..c59cab79da2 100644 --- a/source4/libcli/dgram/mailslot.c +++ b/source4/libcli/dgram/mailslot.c @@ -22,10 +22,10 @@ /* This implements "Class 2 mailslots", i.e. the communication mechanism - used for all mailslot packets smaller then 425 bytes. + used for all mailslot packets smaller than 425 bytes. "Class 1 mailslots" (which use SMB) are used for messages larger - then 426 bytes and are supported on some systems. These are not implemented + than 426 bytes and are supported on some systems. These are not implemented in Samba4 yet, as there don't appear to be any core services that use them. diff --git a/source4/librpc/idl/oxidresolver.idl b/source4/librpc/idl/oxidresolver.idl index 835b848a452..beeb6a7f4f4 100644 --- a/source4/librpc/idl/oxidresolver.idl +++ b/source4/librpc/idl/oxidresolver.idl @@ -65,7 +65,7 @@ interface IOXIDResolver /* In some cases the client maybe unsure that a particular */ /* binding will reach the server. (For example, when the oxid */ - /* bindings have more then one TCP/IP binding) This call */ + /* bindings have more than one TCP/IP binding) This call */ /* can be used to validate the binding */ /* from the client. */ [idempotent] WERROR ServerAlive (); diff --git a/source4/pidl/TODO b/source4/pidl/TODO index c7ae61a890e..bfbf5afc540 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 02319a0aa9c..e7f2922c7f8 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 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 a6b4b38cdf2..57fa3867f7b 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 77482685b7d..912c4b74f9e 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 a7838791b5a..6b645411560 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 rather then I. See L +extension I rather than I. See L for details on the format of this file. =item I<--diff> diff --git a/source4/wrepl_server/wrepl_server.c b/source4/wrepl_server/wrepl_server.c index 688471c3328..f32c4bb9bfe 100644 --- a/source4/wrepl_server/wrepl_server.c +++ b/source4/wrepl_server/wrepl_server.c @@ -320,7 +320,7 @@ NTSTATUS wreplsrv_add_table(struct wreplsrv_service *service, /* the min_version is always 0 here, and won't be updated */ - /* if the given version is higher the then current nax_version, update */ + /* if the given version is higher than the current max_version, update */ if (cur->owner.max_version < version) { cur->owner.max_version = version; /* if it's for our local db, we need to update the wins.ldb too */ -- 2.34.1