Bug 27429

Summary: 'dependant' is a misspelling
Product: Base System Reporter: bill <bill>
Component: kernAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description bill 2001-05-18 14:40:01 UTC
	While doing a boot -v, I noticed that 'dependent' was
	misspelled 'dependant'.

Fix: 

This problem is a fairly common one -- I did a grep over
	my /usr/src and found the following lines containing the
	misspelling; the fix is to correct the misspelling on
	these lines. The ones I found at boot are in
	sys/isa/pnpparse.c.

./bin/csh/config.h:14:/****************** System dependant compilation flags ****************/
./contrib/awk/FUTURES:34:       DONE: Make regex + dfa less dependant on gawk header file includes
./contrib/awk/doc/ChangeLog:156:          made dependant on files in $(srcdir).
./contrib/awk/eval.c:77: * This table is used by the regexp routines to do case independant
./contrib/awk/io.c:1085:         * and thus has a child process feeding it input (shell dependant)
./contrib/bind/doc/man/named.conf.5:1061:is order dependant.
./contrib/binutils/gas/as.h:619:/* this one starts the chain of target dependant headers */
./contrib/binutils/gas/input-file.h:20:/*"input_file.c":Operating-system dependant functions to read source files.*/
./contrib/binutils/gas/itbl-ops.h:26: * "targ-env.h" includes the chain of target dependant headers,
./contrib/binutils/include/remote-sim.h:157:   hardware reset defaults).  ARGV and ENV, dependant on the target
./contrib/binutils/include/remote-sim.h:229:   dependant.
./contrib/binutils/include/remote-sim.h:249:   dependant exit status.
./contrib/cvs/PROJECTS:33:  an machine-dependant type (although it's pretty standard on UN*X
./contrib/cvs/src/logmsg.c:389:   independant of the running of an editor for getting a message.
./contrib/cvs/src/sanity.sh:16402:        # by several seconds between machines - dependant on CPUspeeds,
./contrib/file/Makefile.std:63:# There are no system-dependant configuration options (except maybe CFLAGS).
./contrib/gcc/collect2.c:1016:  /* Perform system dependant initialization, if neccessary.  */
./contrib/gcc/config/alpha/alpha.c:5041:/* Machine dependant reorg pass.  */
./contrib/gcc/config/alpha/alpha.md:65:;; and div operations that have size dependant timings.
./contrib/gcc/config/alpha/alpha.md:242:  15 15)                                ; 15 to 31 data dependant
./contrib/gcc/config/alpha/alpha.md:248:  22 22)                                ; 22 to 60 data dependant
./contrib/gcc/config/alpha/alpha.md:255:;; Conditional moves decompose into two independant primitives, each
./contrib/gcc/config/alpha/alpha.md:5367:;; No-op instructions used by machine-dependant reorg to preserve
./contrib/gcc/config/i386/xm-djgpp.h:39:/* System dependant initialization for collect2
./contrib/gcc/config/sparc/sparc.c:6682:             we will get a stall.  Loads and stores are independant
./contrib/gcc/dwarf2out.c:1214:     the PARALLEL independantly. The first element is always processed if
./contrib/gcc/eh-common.h:22:   independant exception handling model. Both the static compiler and
./contrib/gcc/haifa-sched.c:3810:  /* Accumulate clobbers until the next set so that it will be output dependant
./contrib/gcc/haifa-sched.c:3812:     subsequent sets will be output dependant on it.  */
./contrib/gcc/invoke.texi:5687:dependant on the memory access patterns used by the application
./contrib/gcc/rtl.texi:2483:by later passes, in particular machine-dependant reorg.
./contrib/gdb/gdb/ChangeLog-96:503:     * blockframe.c: Add target-independant support for managing
./contrib/gdb/gdb/ChangeLog-98:3422:    dependant GDB parameters.
./contrib/gdb/gdb/blockframe.c:1045: * the call in host memory, so we must maintain an independant stack
./contrib/gdb/gdb/config/i386/nm-symmetry.h:41:/* VA_UAREA is defined in <sys/mc_vmparam.h>, and is dependant upon
./contrib/gdb/gdb/doc/gdbint.texinfo:1447:A function that inserts or removes (dependant on
./contrib/gdb/gdb/fork-child.c:408:  /* Allow target dependant code to play with the new process.  This might be
./contrib/gdb/gdb/gdbarch.c:309:/* Set the dynamic target-system-dependant parameters (architecture,
./contrib/gdb/gdb/gdbarch.h:24:/* The target-system-dependant byte order is dynamic */
./contrib/gdb/gdb/gdbarch.h:59:/* The target-system-dependant BFD architecture is dynamic */
./contrib/gdb/gdb/gdbarch.h:71:/* Notify the target dependant backend of a change to the selected
./contrib/gdb/gdb/gdbarch.h:79:/* The target-system-dependant disassembler is semi-dynamic */
./contrib/gdb/gdb/gdbarch.h:103:/* Set the dynamic target-system-dependant parameters (architecture,
./contrib/gdb/gdb/gdbarch.h:109:/* Explicitly set the dynamic target-system-dependant parameters based
./contrib/gdb/gdb/symfile.c:624:/* Call this after reading in a new symbol table to give target dependant code
./contrib/gdb/gdb/symfile.c:1513:            dependant code a crack at the new symbols.  For instance, this
./contrib/gdb/gdb/target.h:1012:/* Hook to call target-dependant code after reading in a new symbol table. */
./contrib/gdb/gdb/target.h:1018:/* Hook to call target dependant code just after inferior target process has
./contrib/ipfilter/ip_compat.h:990: * the last 64 bits is dependant on that being available.
./contrib/ncurses/form/fld_def.c:76:|                    Use the type-dependant argument list to construct
./contrib/ntp/kernel/tty_clk.c:204:      * This is a machine independant way of puting longs into
./contrib/perl5/Porting/config_H:899: * LONG_MAX, i.e. machine dependant limitations.
./contrib/perl5/Porting/config_H:1070: *        MAXLONG, i.e. machine dependant limitations.  Probably, you
./contrib/perl5/Porting/config_H:2000: *        It may be used to construct an architecture-dependant pathname
./contrib/perl5/config_h.SH:961: *      LONG_MAX, i.e. machine dependant limitations.
./contrib/perl5/config_h.SH:1132: *     MAXLONG, i.e. machine dependant limitations.  Probably, you
./contrib/perl5/config_h.SH:2077: *     It may be used to construct an architecture-dependant pathname
./contrib/perl5/hints/powerux.sh:67:# fails to provide the correct compare status (it is data dependant), so just
./contrib/perl5/iperlsys.h:40: * 1. All OS dependant code is in the Perl Host and not the Perl Core.
./contrib/pnpinfo/pnpinfo.c:368:    case PNP_TAG_START_DEPENDANT:
./contrib/pnpinfo/pnpinfo.c:384:    case PNP_TAG_END_DEPENDANT:
./contrib/tcsh/config/bsd4.4:11:/****************** System dependant compilation flags ****************/
./contrib/tcsh/ed.chared.c:3815:        size = (int)(Cursor-LastChar); /*  NOT NSL independant */
./contrib/tcsh/sh.c:1636:     * compiler-dependant code here) PWP: THANKS LOTS !!!
./crypto/heimdal/aclocal.m4:974:[AC_CACHE_CHECK([how to recognise dependant libraries],
./crypto/heimdal/configure:3266:echo "$as_me:3266: checking how to recognise dependant libraries" >&5
./crypto/heimdal/configure:3267:echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
./crypto/openssl/CHANGES.SSLeay:961:- PEM.  Doing this and PKCS#7 have been dependant on the distributed
./crypto/openssl/crypto/bn/todo:2:make the result argument independant of the inputs.
./crypto/openssl/crypto/des/asm/readme:2:dependant on the particular CPU architecture release and is generally a pig
./crypto/openssl/crypto/opensslconf.h:121: * Very mucy CPU dependant */
./crypto/openssl/crypto/opensslconf.h.in:109: * Very mucy CPU dependant */
./crypto/openssl/doc/ssleay.txt:532:can all be compiled independantly.
./crypto/openssl/doc/ssleay.txt:5695:in as a unix long, which is rather OS dependant, but easy to convert back.
./crypto/openssl/doc/ssleay.txt:5899:The performace of the library is very dependant on the Compiler
./crypto/openssl/doc/ssleay.txt:6376:libraries since they are often capable of functioning as independant
./crypto/openssl/doc/ssleay.txt:6799:is because these libraries should be 'independantly compilable' and so I
./crypto/openssl/doc/ssleay.txt:6802:evil OS dependant muck.
./crypto/openssl/doc/ssleay.txt:6821:to keep the 'sub-libraries' independant.  I still 'pull' out
./games/hack/Original_READ_ME:42:               independant stuff is in here.
./gnu/usr.bin/as/as.h:402:/* this one starts the chain of target dependant headers */
./gnu/usr.bin/as/config/obj-coff.c:157:/* obj dependant output values */
./gnu/usr.bin/as/input-file.h:20:/*"input_file.c":Operating-system dependant functions to read source files.*/
./gnu/usr.bin/ld/symseg.h:31:   independant compilation.  These segments are simply concatenated
./lib/libc/gen/nlist.c:220:      * represented in a machine independant fashion.
./lib/libc/gen/nlist.c:227:             /* Now check the machine dependant header */
./lib/libstand/stand.h:138:    int              dv_type;                /* opaque type constant, arch-dependant */
./lib/libstand/zalloc.c:183:             * merge against next area or create independant area
./secure/lib/libcrypto/opensslconf-alpha.h:98: * Very mucy CPU dependant */
./secure/lib/libcrypto/opensslconf-i386.h:129: * Very mucy CPU dependant */
./share/man/man7/clocks.7:129:It is only available to applications in a purely machine-dependant manner.
./share/man/man7/hier.7:565:architecture independant files.
./share/man/man9/device_set_flags.9:47:Each device supports a set of driver-dependant flags which are often
./share/zoneinfo/australasia:866:# instead of only 30 minutes.  Dependant on the wishes of residents
./sys/boot/Makefile:6:# Pick the machine-dependant subdir based on the target architecture.
./sys/boot/common/Makefile.inc:7:# Machine-independant ISA PnP
./sys/boot/common/bootstrap.h:33: * Generic device specifier; architecture-dependant
./sys/boot/common/isapnp.c:31: * Machine-independant ISA PnP enumerator implementing a subset of the
./sys/conf/kmod.mk:42:# KMODDEPS        List of modules which this one is dependant on
./sys/dev/amr/amr_pci.c:260:     * Do bus-independant initialisation, bring controller online.
./sys/dev/asr/dptalign.h:87: *      more optimally performed by an OS or driver processor dependant
./sys/dev/bktr/CHANGELOG.TXT:362:                    Reorganise OS device dependant parts (based on a port to
./sys/dev/bktr/CHANGELOG.TXT:374:                    Small cleanup of OS dependant code. Remove NPCI usage.
./sys/dev/bktr/bktr_core.c:1728:/* *** OS Dependant code *** */
./sys/dev/bktr/bktr_os.c:9: * bktr_os : This has all the Operating System dependant code,
./sys/dev/bktr/bktr_os.h:9: * bktr_os : This has all the Operating System dependant code.
./sys/dev/ccd/ccd.c:252:         * independant struct buf initialization
./sys/dev/dpt/dpt.h:1078:        * us as a target.  We do that so that separate and independant
./sys/dev/dpt/dpt_scsi.c:31: * dpt_scsi.c: SCSI dependant code for the DPT driver
./sys/dev/mlx/mlx_pci.c:204:     * Do bus-independant initialisation.
./sys/dev/mly/mly_pci.c:398:                                                Bus-dependant Resource Management
./sys/dev/twe/twe_freebsd.c:898: * access is actually visible to the controller, in a machine-independant
./sys/dev/twe/twevar.h:130: * Interface betwen driver core and platform-dependant code.
./sys/i386/boot/dosboot/imgact.h:142:#define EX_PIC             0x10    /* contains position independant code */
./sys/isa/isa_common.h:65: * These functions are architecture dependant.
./sys/isa/pnpparse.c:131:                       case PNP_TAG_START_DEPENDANT:
./sys/isa/pnpparse.c:133:                                       printf("%s: start dependant\n",
./sys/isa/pnpparse.c:137:                                       device_printf(parent, "too many dependant configs (%d)\n", MAXDEP);
./sys/isa/pnpparse.c:154:                       case PNP_TAG_END_DEPENDANT:
./sys/isa/pnpparse.c:156:                                       printf("%s: end dependant\n",
./sys/isa/pnpparse.c:382:               /* Single config without dependants */
./sys/isa/pnpparse.c:387:       /* Cycle through dependant configs merging primary details */
./sys/isa/pnpreg.h:241:#define PNP_TAG_START_DEPENDANT  0x6
./sys/isa/pnpreg.h:242:#define PNP_TAG_END_DEPENDANT    0x7
./sys/kern/kern_shutdown.c:203: * anything machine dependant in it.
./sys/kern/kern_timeout.c:306: * firing, which seemed independant on whether the suspend was 2 hours or
./sys/kern/link_aout.c:312:     * All files are dependant on /kernel.
./sys/kern/link_aout.c:344: * XXX i386 dependant.
./sys/kern/link_elf.c:741:     * All files are dependant on /kernel.
./sys/kern/vfs_conf.c:135:       * Try values that may have been computed by the machine-dependant
./sys/netgraph/netgraph.h:61:   void   *private;        /* node dependant ID for this hook */
./sys/netgraph/netgraph.h:102:  void   *private;        /* node type dependant node ID */
./sys/netinet/ip_compat.h:989: * the last 64 bits is dependant on that being available.
./sys/ntfs/ntfs_subr.c:1906: * this initializes toupper table & dependant variables to be ready for
./sys/sys/_posix.h:49: * one to avoid other pieces of the kernel getting dependant
./sys/vm/vm_page.h:120: struct md_page md;              /* machine dependant stuff */
./usr.bin/gencat/gencat.c:60: * Flags are order dependant, we'll take whatever lang was most recently chosen
./usr.sbin/wlconfig/wlconfig.8:56:independantly whilse occupying the same airspace.
Comment 1 ru freebsd_committer freebsd_triage 2001-05-18 14:51:24 UTC
On Fri, May 18, 2001 at 09:28:21AM -0400, T. William Wells wrote:
> 
> 	While doing a boot -v, I noticed that 'dependent' was
> 	misspelled 'dependant'.
> 
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=dependant


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 bill 2001-05-18 17:23:25 UTC
> >     While doing a boot -v, I noticed that 'dependent' was
> >     misspelled 'dependant'.
> >
> http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=dependant

1) "Dependant" is only used for the noun form. The bulk of uses
   are for the adjective form.

2) "Dependant" is listed as an "also" variant which means that it
   is the less common form.

3) Some of the examples were for "independant", which rather
   definitely is not a word.

To clarify 1):

"A system-dependent variable" uses "dependent" as an adjective, as
it (in conjunction with "system") modifies "variable".
"System-dependant" would be incorrect there. Similarly for
"machine-dependent" and other such compounds that are used to
describe or limit a noun.

There's a bunch of "dependant on" constructs. That one grates on
me but I'm unable to find evidence that it's incorrect English.
However, "X is dependent on Y" is still an adjectival form and so
would use the -ent spelling.

There is a "start dependant" (in pnpparse.c) which stands by
itself; that's a noun usage most likely and so is acceptable if
not in the most common form.

Be that as it may, using dependent in all cases has the virtue of
consistency and of never being the wrong variant. It'll also look
better to the untrained eye, which is likely expecting the -ent
variant.

I wonder if it would be considered useful to create a list of
commonly misspelled words for adding to the style guide(s)? If so,
I might be persuaded to handle its creation.

--Bill Wells
....who used to write spelling checkers for a living and had
something to do with bringing Merriam-Webster into the electronic
age. :)
Comment 3 Bruce Evans 2001-05-19 15:10:46 UTC
On Fri, 18 May 2001, T. William Wells wrote:

>  > >     While doing a boot -v, I noticed that 'dependent' was
>  > >     misspelled 'dependant'.
>  > >
>  > http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=dependant
>  
>  1) "Dependant" is only used for the noun form. The bulk of uses
>     are for the adjective form.
>  
>  2) "Dependant" is listed as an "also" variant which means that it
>     is the less common form.

The above URL says that this form is archaic.  The Oxford English
Dictionary (a 20+ volume 1972 edition on dead trees) gives more details.
This form started being archaic about 1800...

>  3) Some of the examples were for "independant", which rather
>     definitely is not a word.

Similarly for "consistant", "existant", "inadvertant",  "persistant",
etc.  There were only 37 lines with these in the whole src tree on
1996/10/25 according to some saved grep output from that date.

Bruce
Comment 4 bill 2001-05-19 15:58:23 UTC
> The above URL says that this form is archaic.  The Oxford English
> Dictionary (a 20+ volume 1972 edition on dead trees) gives more details.
> This form started being archaic about 1800...

It says that the first meaning for this form is archaic. The
other, as in "these are my dependants" is still correct, even if
not the most common spelling.

> >  3) Some of the examples were for "independant", which rather
> >     definitely is not a word.
>
> Similarly for "consistant", "existant", "inadvertant",  "persistant",
> etc.  There were only 37 lines with these in the whole src tree on
> 1996/10/25 according to some saved grep output from that date.

Bletch. Oh well...I wouldn't worry too much about any of them,
unless they show up in program output. Still, it'd be nice to fix
them.

Spelling wars on bugs@freebsd.org? :)
Comment 5 Remko Lodder freebsd_committer freebsd_triage 2006-12-29 20:01:18 UTC
Responsible Changed
From-To: freebsd-bugs->ceri

Hello ceri, can you please tell me what is appropriate here? I am not 
sure whether 'fixing' the ticket would really gain us something, let 
alone that this ticket should be kept open for it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2006-12-30 11:56:09 UTC
ceri        2006-12-30 11:55:47 UTC

  FreeBSD src repository

  Modified files:
    sys/isa              pnpparse.c 
  Log:
  Be consistent with the spelling of "dependent" in user-visible places.
  
  PR:             kern/27429
  Submitted by:   T. William Wells
  
  Revision  Changes    Path
  1.15      +1 -1      src/sys/isa/pnpparse.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Ceri Davies freebsd_committer freebsd_triage 2006-12-30 11:56:22 UTC
State Changed
From-To: open->closed

The line in sys/isa/pnpparse.c was the only user-visible instance of 
"dependant" in non-contributed code, so I fixed that one in -HEAD. 

I don't see that the non-visible instances are important enough for a 
sweep, I'm afraid, and the ones in contributed code aren't worth the 
conflict problems that fixing them in our repository would cause. 

Thanks to the submitter for pointing out this problem.