From: Peter J. Acklam) (via RT Date: Fri, 7 Jan 2011 07:14:14 +0000 (-0800) Subject: Fix typos (spelling errors) in Porting/*. X-Git-Tag: accepted/trunk/20130322.191538~6214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47e01c32ac25271a1f3cf1535158ed9e873eeeac;p=platform%2Fupstream%2Fperl.git Fix typos (spelling errors) in Porting/*. # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81910] # in the subject line of all future correspondence about this issue. # Signed-off-by: Abigail --- diff --git a/Porting/Glossary b/Porting/Glossary index 9170c6c..4ee4c28 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -289,7 +289,7 @@ config_arg0 (Options.U): command, as reported by the shell in the $0 variable. config_argc (Options.U): - This variable countains the number of command-line arguments + This variable contains the number of command-line arguments passed to Configure, as reported by the shell in the $# variable. The individual arguments are stored as variables config_argc1, config_argc2, etc. @@ -528,7 +528,7 @@ d_casti32 (d_casti32.U): d_castneg (d_castneg.U): This variable conditionally defines CASTNEG, which indicates - wether the C compiler can cast negative float to unsigned. + whether the C compiler can cast negative float to unsigned. d_charvspr (d_vprintf.U): This variable conditionally defines CHARVSPRINTF if this system @@ -749,7 +749,7 @@ d_eofnblk (nblock_io.U): d_eunice (Guess.U): This variable conditionally defines the symbols EUNICE and VAX, which - alerts the C program that it must deal with ideosyncracies of VMS. + alerts the C program that it must deal with idiosyncrasies of VMS. d_faststdio (d_faststdio.U): This variable conditionally defines the HAS_FAST_STDIO symbol, @@ -941,7 +941,7 @@ d_getcwd (d_getcwd.U): d_getespwnam (d_getespwnam.U): This variable conditionally defines HAS_GETESPWNAM if getespwnam() is - available to retrieve enchanced (shadow) password entries by name. + available to retrieve enhanced (shadow) password entries by name. d_getfsstat (d_getfsstat.U): This variable conditionally defines the HAS_GETFSSTAT symbol, which @@ -1399,7 +1399,7 @@ d_memcpy (d_memcpy.U): d_memmove (d_memmove.U): This variable conditionally defines the HAS_MEMMOVE symbol, which indicates to the C program that the memmove() routine is available - to copy potentatially overlapping blocks of memory. + to copy potentially overlapping blocks of memory. d_memset (d_memset.U): This variable conditionally defines the HAS_MEMSET symbol, which @@ -1628,41 +1628,41 @@ d_prctl_set_name (d_prctl.U): d_PRId64 (quadfio.U): This variable conditionally defines the PERL_PRId64 symbol, which - indiciates that stdio has a symbol to print 64-bit decimal numbers. + indicates that stdio has a symbol to print 64-bit decimal numbers. d_PRIeldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. d_PRIEUldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. The 'U' in the name is to separate this from d_PRIeldbl so that even case-blind systems can see the difference. d_PRIfldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. d_PRIFUldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. The 'U' in the name is to separate this from d_PRIfldbl so that even case-blind systems can see the difference. d_PRIgldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. d_PRIGUldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to print long doubles. + indicates that stdio has a symbol to print long doubles. The 'U' in the name is to separate this from d_PRIgldbl so that even case-blind systems can see the difference. d_PRIi64 (quadfio.U): This variable conditionally defines the PERL_PRIi64 symbol, which - indiciates that stdio has a symbol to print 64-bit decimal numbers. + indicates that stdio has a symbol to print 64-bit decimal numbers. d_printf_format_null (d_attribut.U): This variable conditionally defines PRINTF_FORMAT_NULL_OK, which @@ -1670,20 +1670,20 @@ d_printf_format_null (d_attribut.U): d_PRIo64 (quadfio.U): This variable conditionally defines the PERL_PRIo64 symbol, which - indiciates that stdio has a symbol to print 64-bit octal numbers. + indicates that stdio has a symbol to print 64-bit octal numbers. d_PRIu64 (quadfio.U): This variable conditionally defines the PERL_PRIu64 symbol, which - indiciates that stdio has a symbol to print 64-bit unsigned decimal + indicates that stdio has a symbol to print 64-bit unsigned decimal numbers. d_PRIx64 (quadfio.U): This variable conditionally defines the PERL_PRIx64 symbol, which - indiciates that stdio has a symbol to print 64-bit hexadecimal numbers. + indicates that stdio has a symbol to print 64-bit hexadecimal numbers. d_PRIXU64 (quadfio.U): This variable conditionally defines the PERL_PRIXU64 symbol, which - indiciates that stdio has a symbol to print 64-bit hExADECimAl numbers. + indicates that stdio has a symbol to print 64-bit hExADECimAl numbers. The 'U' in the name is to separate this from d_PRIx64 so that even case-blind systems can see the difference. @@ -1833,7 +1833,7 @@ d_scm_rights (d_socket.U): d_SCNfldbl (longdblfio.U): This variable conditionally defines the PERL_PRIfldbl symbol, which - indiciates that stdio has a symbol to scan long doubles. + indicates that stdio has a symbol to scan long doubles. d_seekdir (d_readdir.U): This variable conditionally defines HAS_SEEKDIR if seekdir() is @@ -2341,7 +2341,7 @@ d_telldirproto (d_telldirproto.U): d_time (d_time.U): This variable conditionally defines the HAS_TIME symbol, which indicates - that the time() routine exists. The time() routine is normaly + that the time() routine exists. The time() routine is normally provided on UNIX systems. d_timegm (d_timegm.U): @@ -2350,7 +2350,7 @@ d_timegm (d_timegm.U): d_times (d_times.U): This variable conditionally defines the HAS_TIMES symbol, which indicates - that the times() routine exists. The times() routine is normaly + that the times() routine exists. The times() routine is normally provided on UNIX systems. You may have to include . d_tm_tm_gmtoff (i_time.U): @@ -2452,7 +2452,7 @@ d_voidtty (i_sysioctl.U): This variable conditionally defines USE_IOCNOTTY to indicate that the ioctl() call with TIOCNOTTY should be used to void tty association. Otherwise (on USG probably), it is enough to close the standard file - decriptors and do a setpgrp(). + descriptors and do a setpgrp(). d_volatile (d_volatile.U): This variable conditionally defines the HASVOLATILE symbol, which @@ -2641,7 +2641,7 @@ expr (Loc.U): extensions (Extensions.U): This variable holds a list of all extension files (both XS and non-xs linked into the package. It is propagated to Config.pm - and is typically used to test whether a particular extesion + and is typically used to test whether a particular extension is available. extern_C (Csym.U): @@ -3374,7 +3374,7 @@ inc_version_list_init (inc_version_list.U): suitable for use in the PERL_INC_VERSION_LIST initialization. incpath (usrinc.U): - This variable must preceed the normal include path to get hte + This variable must precede the normal include path to get hte right one, as in "$incpath/usr/include" or "$incpath/usr/lib". Value can be "" or "/bsd43" on mips. @@ -3397,7 +3397,7 @@ installarchlib (archlib.U): installbin (bin.U): This variable is the same as binexp unless AFS is running in which case - the user is explicitely prompted for it. This variable should always + the user is explicitly prompted for it. This variable should always be used in your makefiles for maximum portability. installhtml1dir (html1dir.U): @@ -4758,7 +4758,7 @@ startperl (startperl.U): eval 'exec perl -S $0 ${1+"$@"}' if $running_under_some_shell; to guarantee perl startup should the shell execute the script. Note - that this magic incatation is not understood by csh. + that this magic incantation is not understood by csh. startsh (startsh.U): This variable contains the string to put on the front of a shell @@ -5028,7 +5028,7 @@ usemultiplicity (usemultiplicity.U): usemymalloc (mallocsrc.U): This variable contains y if the malloc that comes with this package is desired over the system's version of malloc. People often include - special versions of malloc for effiency, but such versions are often + special versions of malloc for efficiency, but such versions are often less portable. See also mallocsrc and mallocobj. If this is 'y', then -lmalloc is removed from $libs. @@ -5072,7 +5072,7 @@ userelocatableinc (bin.U): usesfio (d_sfio.U): This variable is set to true when the user agrees to use sfio. It is set to false when sfio is not available or when the user - explicitely requests not to use sfio. It is here primarily so + explicitly requests not to use sfio. It is here primarily so that command-line settings can override the auto-detection of d_sfio without running into a "WHOA THERE". @@ -5100,7 +5100,7 @@ usevendorprefix (vendorprefix.U): usevfork (d_vfork.U): This variable is set to true when the user accepts to use vfork. It is set to false when no vfork is available or when the user - explicitely requests not to use vfork. + explicitly requests not to use vfork. usrinc (usrinc.U): This variable holds the path of the include files, which is diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 0c8ef39..df34576 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -158,7 +158,7 @@ use File::Glob qw(:case); # # MAP is a hash that maps CPAN paths to their core equivalents. -# Each key reprepresents a string prefix, with longest prefixes checked +# Each key represents a string prefix, with longest prefixes checked # first. The first match causes that prefix to be replaced with the # corresponding key. For example, with the following MAP: # { diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index 51c847f..d44bb95 100644 --- a/Porting/Maintainers.pm +++ b/Porting/Maintainers.pm @@ -82,7 +82,7 @@ sub expand_glob { @files; } # The rest are globbable patterns; expand the glob, then - # recurively perform directory expansion on any results + # recursively perform directory expansion on any results : expand_glob(grep -e $_,glob($_)) } @_; } diff --git a/Porting/README.y2038 b/Porting/README.y2038 index a3530d2..41087d5 100644 --- a/Porting/README.y2038 +++ b/Porting/README.y2038 @@ -23,7 +23,7 @@ against a large table of known good values in different time zones. Limitations, Issues, etc... --------------------------- localtime64_r() gets its time zone and daylight savings time information by -mappping the future year back to a similar one between 2010 and 2037, safe +mapping the future year back to a similar one between 2010 and 2037, safe for localtime_r(). The calculations are accurate according to current time zone and daylight savings information, but may become inaccurate if a change is made that takes place after 2010. diff --git a/Porting/bump-perl-version b/Porting/bump-perl-version index 679aa28..b5752fb 100644 --- a/Porting/bump-perl-version +++ b/Porting/bump-perl-version @@ -71,7 +71,7 @@ EOF my %opts; getopts('csu', \%opts) or usage; if ($opts{u}) { - @ARGV == 0 or usage('no version version numbers should be speciied'); + @ARGV == 0 or usage('no version version numbers should be specified'); # fake to stop warnings when calculating $oldx etc @ARGV = qw(99.99.99 99.99.99); } @@ -216,7 +216,7 @@ elsif ($opts{u}) { do_update(); } else { - usage('one of -c, -s or -u must be specifcied'); + usage('one of -c, -s or -u must be specified'); } exit 0; @@ -279,7 +279,7 @@ sub do_update { elsif (/^\s+(\d+): -(.*)/) { my $old; ($line, $old) = ($1,$2); - die "$.: old line without preceeding filename\n" + die "$.: old line without preceding filename\n" unless defined $file; die "Dup line number: $line\n" if exists $changes{$file}{$line}; $changes{$file}{$line}[0] = $old; diff --git a/Porting/checkAUTHORS.pl b/Porting/checkAUTHORS.pl index e2b3bd2..9c8e60b 100755 --- a/Porting/checkAUTHORS.pl +++ b/Porting/checkAUTHORS.pl @@ -70,7 +70,7 @@ Modifiers: --reverse # show rankings in reverse Generate git-log-output-file with git log --pretty=fuller rev1..rev2 -(or pipe by specifing '-' for stdin). For example: +(or pipe by specifying '-' for stdin). For example: \$ git log --pretty=fuller v5.12.0..v5.12.1 > gitlog \$ perl Porting/checkAUTHORS.pl --rank --percentage gitlog EOS diff --git a/Porting/config_H b/Porting/config_H index 295f6ca..0577e50 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -908,7 +908,7 @@ /* HAS_QUAD: * This symbol, if defined, tells that there's a 64-bit integer type, - * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one + * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. */ #define HAS_QUAD /**/ @@ -2721,7 +2721,7 @@ * unsigned long, int, etc. It may be necessary to include * to get any typedef'ed information. */ -#define Size_t size_t /* length paramater for string functions */ +#define Size_t size_t /* length parameter for string functions */ /* Sock_size_t: * This symbol holds the type used for the size argument of @@ -2822,7 +2822,7 @@ * 2 = supports arrays of pointers to functions returning void * 4 = supports comparisons between pointers to void functions and * addresses of void functions - * 8 = suports declaration of generic void pointers + * 8 = supports declaration of generic void pointers * * The package designer should define VOIDUSED to indicate the requirements * of the package. This can be done either by #defining VOIDUSED before @@ -3517,7 +3517,7 @@ /* HAS_GETESPWNAM: * This symbol, if defined, indicates that the getespwnam system call is - * available to retrieve enchanced (shadow) password entries by name. + * available to retrieve enhanced (shadow) password entries by name. */ /*#define HAS_GETESPWNAM / **/ @@ -3640,7 +3640,7 @@ /* HAS_MKSTEMPS: * This symbol, if defined, indicates that the mkstemps routine is - * available to excluslvely create and open a uniquely named + * available to exclusively create and open a uniquely named * (with a suffix) temporary file. */ /*#define HAS_MKSTEMPS / **/ @@ -4329,7 +4329,7 @@ /* NV_OVERFLOWS_INTEGERS_AT: * This symbol gives the largest integer value that NVs can hold. This * value + 1.0 cannot be stored accurately. It is expressed as constant - * floating point expression to reduce the chance of decimale/binary + * floating point expression to reduce the chance of decimal/binary * conversion issues. If it can not be determined, the value 0 is given. */ /* NV_ZERO_IS_ALLBITS_ZERO: diff --git a/Porting/corecpan.pl b/Porting/corecpan.pl index 0a6086c..41778c1 100755 --- a/Porting/corecpan.pl +++ b/Porting/corecpan.pl @@ -44,7 +44,7 @@ our $opt_h and usage; our $opt_t; my @sources = @ARGV ? @ARGV : '.'; -die "Too many directories speficied without -t option\n" +die "Too many directories specified without -t option\n" if @sources != 1 and ! $opt_t; @sources = map { diff --git a/Porting/fixCORE b/Porting/fixCORE index f7f4539..c902857 100644 --- a/Porting/fixCORE +++ b/Porting/fixCORE @@ -21,7 +21,7 @@ while ($work) print; } close(PIPE); -# warn "Make retured $?\n"; +# warn "Make returned $?\n"; # last unless $?; my $changed = 0; foreach my $file (keys %fix) diff --git a/Porting/fixvars b/Porting/fixvars index 201c37f..a21ea42 100644 --- a/Porting/fixvars +++ b/Porting/fixvars @@ -19,7 +19,7 @@ while ($work) print; } close(PIPE); - warn "Make retured $?\n"; + warn "Make returned $?\n"; last unless $?; my $changed = 0; foreach my $file (keys %fix) diff --git a/Porting/how_to_write_a_perldelta.pod b/Porting/how_to_write_a_perldelta.pod index 851ed28..423b42a 100644 --- a/Porting/how_to_write_a_perldelta.pod +++ b/Porting/how_to_write_a_perldelta.pod @@ -132,7 +132,7 @@ within F and F to a number of people. B - this could be automated better If Module::CoreList has been updated, then F -will automatically print out several sections if relevent that can be +will automatically print out several sections if relevant that can be pasted into F: * New Modules and Pragmata @@ -147,7 +147,7 @@ Each section will have stub entries following a template like this: Upgraded from version 0.01 to 0.02 It does not include modules listed in F under -C<_PERLLIB>, but it's a start. Where relevent, a summary of changes can be +C<_PERLLIB>, but it's a start. Where relevant, a summary of changes can be added by hand. A more adventurous enhancement would be to automate grabbing diff --git a/Porting/makerel b/Porting/makerel index 2f84548..39730b3 100755 --- a/Porting/makerel +++ b/Porting/makerel @@ -34,7 +34,7 @@ usage: $0 [ -r rootdir ] [-s suffix ] [ -b ] [ -n ] -r rootdir directory under which to create the build dir and tarball defaults to '..' -s suffix suffix to append to to the perl-x.y.z dir and tarball name - defaults to the concatenaion of the local_patches entry + defaults to the concatenation of the local_patches entry in patchlevel.h (or blank, if none) -b make a .bz2 file in addtion to a .gz file -n do not make any tarballs, just the directory diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index c3d563e..6d31dcc 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -313,8 +313,8 @@ information on obtaining the metaconfig units. This section has now been expanded and moved into its own file, F. -I've kept some of the subsections here for now, as they don't direclty -eleate to building a release any more, but still contain what might be +I've kept some of the subsections here for now, as they don't directly +relate to building a release any more, but still contain what might be useful information - DAPM 7/2009. =head2 run metaconfig @@ -1124,7 +1124,7 @@ were to install /usr/lib/libperl.so.4.5. Now, when you try to run perl5.004_04, ld.so might try to load libperl.so.4.5, since it has the right "major version" number. If this works at all, it almost certainly defeats the reason for keeping perl5.004_04 around. Worse, -with development subversions, you certaily can't guarantee that +with development subversions, you certainly can't guarantee that libperl.so.4.4 and libperl.so.4.55 will be compatible. Anyway, all this leads to quite obscure failures that are sure to drive diff --git a/Porting/regcharclass.pl b/Porting/regcharclass.pl index 2d90039..5bafcc9 100755 --- a/Porting/regcharclass.pl +++ b/Porting/regcharclass.pl @@ -51,7 +51,7 @@ Do a lookup assuming the string is encoded in latin-1 (aka plan octets). =item is_WHATEVER_cp(cp) -Check to see if the string matches a given codepoint (hypotethically a +Check to see if the string matches a given codepoint (hypothetically a U32). The condition is constructed as as to "break out" as early as possible if the codepoint is out of range of the condition. @@ -100,7 +100,7 @@ License or the Artistic License, as specified in the README file. # # ($cp,$n,$l,$u)=__uni_latin($str); # -# Return a list of arrays, each of which when interepreted correctly +# Return a list of arrays, each of which when interpreted correctly # represent the string in some given encoding with specific conditions. # # $cp - list of codepoints that make up the string. @@ -247,7 +247,7 @@ sub new { } elsif ( $str =~ /^0x/ ) { $str= chr eval $str; } elsif ( /\S/ ) { - die "Unparseable line: $txt\n"; + die "Unparsable line: $txt\n"; } else { next; } @@ -276,12 +276,12 @@ sub new { # my $trie = make_trie($type,$maxlen); # -# using the data stored in the object build a trie of a specifc type, +# using the data stored in the object build a trie of a specific type, # and with specific maximum depth. The trie is made up the elements of # the given types array for each string in the object (assuming it is # not too long.) # -# returns the trie, or undef if there was no relevent data in the object. +# returns the trie, or undef if there was no relevant data in the object. # sub make_trie { diff --git a/Porting/valgrindpp.pl b/Porting/valgrindpp.pl index 5078734..79285cb 100755 --- a/Porting/valgrindpp.pl +++ b/Porting/valgrindpp.pl @@ -58,7 +58,7 @@ if (exists $opt{'output-file'}) { # %error = ( # error_name => { # stack_frame => { -# test_script => occurences +# test_script => occurrences # } # } # ); @@ -66,7 +66,7 @@ if (exists $opt{'output-file'}) { # %leak = ( # leak_type => { # stack_frames => { -# test_script => occurences +# test_script => occurrences # } # } # stack frames are separated by '<'s # );