buffer. */
if (re_compile_fastmap (preg) == -2)
{
- /* Some error occured while computing the fastmap, just forget
+ /* Some error occurred while computing the fastmap, just forget
about it. */
free (preg->fastmap);
preg->fastmap = NULL;
sub installation_problem {
print "The script has found some problems with your installation!\n";
print "Please read the FAQ and the README file and check the following:\n";
- print "- Did you change the gcc specs file (neccessary after upgrading from\n";
+ print "- Did you change the gcc specs file (necessary after upgrading from\n";
print " Linux libc5)?\n";
print "- Are there any symbolic links of the form libXXX.so to old libraries?\n";
print " Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,\n";
{
/* As per Single Unix Specification V2 we must return an error if
either parameter is a null pointer. We extend this to allow
- the RESOLVED parameter be NULL in case the we are expected to
+ the RESOLVED parameter to be NULL in case the we are expected to
allocate the room for the return value. */
__set_errno (EINVAL);
return NULL;
do_action ? action : "",
do_action && do_tag ? " " : "",
do_tag ? tag : "") == EOF)
- /* Oh, oh. An error occured during the output. */
+ /* Oh, oh. An error occurred during the output. */
result = MM_NOMSG;
}
}
}
-/* Replace any occurances of the string STR in ARGZ with WITH, reallocating
+/* Replace any occurrences of the string STR in ARGZ with WITH, reallocating
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
incremented by number of replacements performed. */
error_t
char *__restrict __before,
__const char *__restrict __entry) __THROW;
-/* Replace any occurances of the string STR in ARGZ with WITH, reallocating
+/* Replace any occurrences of the string STR in ARGZ with WITH, reallocating
ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
incremented by number of replacements performed. */
extern error_t __argz_replace (char **__restrict __argz,
to make sure we don't get redefinitions.
We must use here macros instead of inline functions since the
- trick won't work with the later. */
+ trick won't work with the latter. */
#ifndef __STRING_INLINE
# ifdef __cplusplus
#endif /* __MSDOS__ || WINDOWS32 */
if (filename == NULL)
{
- /* This can mean two things: a simple name or "~name". The later
+ /* This can mean two things: a simple name or "~name". The latter
case is nothing but a notation for a directory. */
if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && pattern[0] == '~')
{
#endif
/* In the GNU C library implementation we try to be more clever and
- allow arbitrary many changes of the environment given that the used
+ allow arbitrarily many changes of the environment given that the used
values are from a small set. Outside glibc this will eat up all
memory after a while. */
#if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \
or not depending on last subtraction. */
/* At this point %eax == 0, if the byte of block #1 was bigger, and
- 0xffffffff if the last byte of block #2 was bigger. The later
+ 0xffffffff if the last byte of block #2 was bigger. The latter
case is already correct but the former needs a little adjustment.
Note that the following operation does not change 0xffffffff. */
orb $1, %al /* Change 0 to 1. */
{
/* The WHOHANG bit in OPTIONS is set and there are children available
but none has a status for us. The XPG docs do not mention this
- case so we clear the `siginfo_t' struct and return succesfully. */
+ case so we clear the `siginfo_t' struct and return successfully. */
infop->si_signo = 0;
infop->si_code = 0;
return 0;
|| ! compute_change (&tz_rules[1], 1900 + tm->tm_year))
return 0;
/* We have to distinguish between northern and southern hemisphere.
- For the later the daylight saving time ends in the next year.
+ For the latter the daylight saving time ends in the next year.
It is easier to detect this after first computing the time for the
wrong year since now we simply can compare the times to switch. */
if (tz_rules[0].change > tz_rules[1].change