From nobody Sun May 12 11:57:11 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+111698+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111698+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1700824328; cv=none; d=zohomail.com; s=zohoarc; b=XvOLhuFQSDcGHWUUnIovqrM72gYGT88QpWU+GH8VNPGOfF7+hRasN52nErXiP30QnaZj96cRkqjZiVqSPb1vggA9feHHViTVk3K6GjY0nVZ6SF/ugucVA+ixqNuQwkoBPOEVZAieIijpIz61ehJSqaJvA5imaGIlCYofACiOAAs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1700824328; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=ITfZNsJj8LIN0Lij1UvvgUd5JHqVsI6Mz7uHDK+aGQE=; b=BgaLayucpfr9UrtYaLhLYyNbjvRpjMwIwdR/cIjrq9BwukEwo/m9/emgy9EvxowXUAQhxgz7aialUHCci9BFYQLfUxPXdvwf9iTYJynhG/wX0vaE/XgjLFf6Y/mipDHVxVavOYQ2JHw1EhtFbJSymEvbuTJ4inscF3N+AhfTQyk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111698+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1700824328476902.7621851401026; Fri, 24 Nov 2023 03:12:08 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=Gw5jE4qmcUG5yCoNfZjh0P6jRJs2TzGwDlOUavOWy20=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1700824328; v=1; b=lZ5jabcYVUgj7MsyujYZlBtiR30zA3rjs2m1xdtU8M713sGV5WTDVn97895R4hxl9dJKEzSo 8Au+/Df4wOxrdGEmub7+t55Yw/b3F6fd6W7oy62tj1nlfcbyu6xdiDcqSWxtHsoVBqBv9aOGdgx GmOiDaj2PuytfvZHmtiwpOxo= X-Received: by 127.0.0.2 with SMTP id Xk1RYY1788612xXr7UG5t2CT; Fri, 24 Nov 2023 03:12:08 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.133148.1700824326907023765 for ; Fri, 24 Nov 2023 03:12:07 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="392174383" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="392174383" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 03:12:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="858361440" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="858361440" X-Received: from vishalr1-mobl2.gar.corp.intel.com ([10.215.115.231]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 03:12:04 -0800 From: "Vishal R" To: devel@edk2.groups.io Cc: Vishal R , Rebecca Cran , Michael D Kinney , Jayaprakash N Subject: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib: Fixed typo issues in multiple files Date: Fri, 24 Nov 2023 16:41:13 +0530 Message-Id: <20231124111113.2057-2-vishal.r@intel.com> In-Reply-To: <20231124111113.2057-1-vishal.r@intel.com> References: <20231124111113.2057-1-vishal.r@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,vishal.r@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: s3HbO4iN5xAYO0wMyNh0xcqjx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1700824328734100001 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4579 This commit fixes the various typo issues found in documentation strings in multiple files issue reported via the BZ4579 These changes are documentation updates only and does not affect the functionality of the code Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Vishal R Reviewed-by : Jayaprakash Nevara --- StdLib/BsdSocketLib/ns_addr.c | 4 ++-- StdLib/BsdSocketLib/res_comp.c | 2 +- StdLib/BsdSocketLib/res_config.h | 2 +- StdLib/BsdSocketLib/res_init.c | 2 +- StdLib/Include/arpa/telnet.h | 2 +- StdLib/Include/errno.h | 2 +- StdLib/Include/locale.h | 2 +- StdLib/Include/net/if.h | 8 ++++---- StdLib/Include/netns/ns.h | 2 +- StdLib/Include/stdio.h | 2 +- StdLib/Include/stdlib.h | 6 +++--- StdLib/Include/sys/termios.h | 14 +++++++------- StdLib/Include/sys/wait.h | 2 +- StdLib/LibC/Main/Arm/flt_rounds.c | 2 +- StdLib/LibC/StdLib/realpath.c | 2 +- StdLib/LibC/Stdio/vfscanf.c | 2 +- StdLib/LibC/Uefi/InteractiveIO/TerminalFunctions.c | 8 ++++---- StdLib/LibC/Uefi/SysCalls.c | 8 ++++---- StdLib/LibC/Wchar/String.c | 2 +- StdLib/LibC/gdtoa/gdtoaimp.h | 2 +- StdLib/PosixLib/Gen/dirname.c | 2 +- 21 files changed, 39 insertions(+), 39 deletions(-) diff --git a/StdLib/BsdSocketLib/ns_addr.c b/StdLib/BsdSocketLib/ns_addr.c index 4360b0c..36fe379 100644 --- a/StdLib/BsdSocketLib/ns_addr.c +++ b/StdLib/BsdSocketLib/ns_addr.c @@ -72,9 +72,9 @@ ns_addr( =20 /* * First, figure out what he intends as a field separtor. - * Despite the way this routine is written, the prefered + * Despite the way this routine is written, the preferred * form 2-272.AA001234H.01777, i.e. XDE standard. - * Great efforts are made to insure backward compatability. + * Great efforts are made to insure backward compatibility. */ if ((hostname =3D strchr(buf, '#')) !=3D NULL) separator =3D '#'; diff --git a/StdLib/BsdSocketLib/res_comp.c b/StdLib/BsdSocketLib/res_comp.c index 7c327fa..8e52e32 100644 --- a/StdLib/BsdSocketLib/res_comp.c +++ b/StdLib/BsdSocketLib/res_comp.c @@ -108,7 +108,7 @@ static char rcsid[] =3D "$Id: res_comp.c,v 1.1.1.1 2003= /11/19 01:51:35 kyu3 Exp $" =20 /* * Expand compressed domain name 'comp_dn' to full domain name. - * 'msg' is a pointer to the begining of the message, + * 'msg' is a pointer to the beginning of the message, * 'eomorig' points to the first location after the message, * 'exp_dn' is a pointer to a buffer of size 'length' for the result. * Return size of compressed name or -1 if there was an error. diff --git a/StdLib/BsdSocketLib/res_config.h b/StdLib/BsdSocketLib/res_con= fig.h index 4f4afdf..e3128e1 100644 --- a/StdLib/BsdSocketLib/res_config.h +++ b/StdLib/BsdSocketLib/res_config.h @@ -1,6 +1,6 @@ #define DEBUG 1 /* enable debugging code (needed for dig) */ #define RESOLVSORT /* allow sorting of addresses in gethostbyname */ -#define RFC1535 /* comply with RFC1535 (STRONGLY reccomended by vixie)= */ +#define RFC1535 /* comply with RFC1535 (STRONGLY recommended by vixie)= */ #undef USELOOPBACK /* res_init() bind to localhost */ #undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */ #define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases= */ diff --git a/StdLib/BsdSocketLib/res_init.c b/StdLib/BsdSocketLib/res_init.c index 9df7d4f..449cb17 100644 --- a/StdLib/BsdSocketLib/res_init.c +++ b/StdLib/BsdSocketLib/res_init.c @@ -134,7 +134,7 @@ struct __res_state _res * there will have precedence. Otherwise, the server address is set to * INADDR_ANY and the default domain name comes from the gethostname(). * - * An interrim version of this code (BIND 4.9, pre-4.4BSD) used 127.0.0.1 + * An interim version of this code (BIND 4.9, pre-4.4BSD) used 127.0.0.1 * rather than INADDR_ANY ("0.0.0.0") as the default name server address * since it was noted that INADDR_ANY actually meant ``the first interface * you "ifconfig"'d at boot time'' and if this was a SLIP or PPP interface, diff --git a/StdLib/Include/arpa/telnet.h b/StdLib/Include/arpa/telnet.h index d7c8ecb..04c4a30 100644 --- a/StdLib/Include/arpa/telnet.h +++ b/StdLib/Include/arpa/telnet.h @@ -213,7 +213,7 @@ char *telopts[NTELOPTS+1] =3D { #define NSLC 30 =20 /* - * For backwards compatability, we define SLC_NAMES to be the + * For backwards compatibility, we define SLC_NAMES to be the * list of names if SLC_NAMES is not defined. */ #define SLC_NAMELIST "0", "SYNCH", "BRK", "IP", "AO", "AYT", "EOR", \ diff --git a/StdLib/Include/errno.h b/StdLib/Include/errno.h index a819d08..e24547f 100644 --- a/StdLib/Include/errno.h +++ b/StdLib/Include/errno.h @@ -18,7 +18,7 @@ of errno is not documented in the description of the function in the governing standard: ISO/IEC 9899:1990 with Amendment 1 or ISO/IEC 98= 99:199409. =20 - EFIerrno, like errno, should only be checked if it is known that the pre= ceeding function call + EFIerrno, like errno, should only be checked if it is known that the pre= ceding function call called a UEFI function. Functions in which UEFI functions are called de= pendent upon context or parameter values should guarantee that EFIerrno is set to zero by def= ault, or to the status value returned by any UEFI functions which are called. diff --git a/StdLib/Include/locale.h b/StdLib/Include/locale.h index 93aac0a..169e65d 100644 --- a/StdLib/Include/locale.h +++ b/StdLib/Include/locale.h @@ -93,7 +93,7 @@ struct lconv { the international curren= cy symbol from the monetary quantity. */ char *currency_symbol; /**< "" The local currency symbo= l for the current locale. */ char *mon_decimal_point; /**< "" The decimal point used f= or monetary values. */ - char *mon_thousands_sep; /**< "" The separator for digit = groups preceeding the decimal-point. */ + char *mon_thousands_sep; /**< "" The separator for digit = groups preceding the decimal-point. */ char *mon_grouping; /**< "" A string, like grouping,= for monetary values. */ char *positive_sign; /**< "" A string to indicate a n= on-negative monetary value. */ char *negative_sign; /**< "" A string to indicate a n= egative monetary value. */ diff --git a/StdLib/Include/net/if.h b/StdLib/Include/net/if.h index 0b8afa0..3c61184 100644 --- a/StdLib/Include/net/if.h +++ b/StdLib/Include/net/if.h @@ -39,7 +39,7 @@ =20 /* * does not depend on on most other systems. This - * helps userland compatability. (struct timeval ifi_lastchange) + * helps userland compatibility. (struct timeval ifi_lastchange) */ #ifndef KERNEL #include @@ -109,7 +109,7 @@ struct if_data { */ struct if_msghdr { u_short ifm_msglen; /* to skip over non-understood messages */ - u_char ifm_version; /* future binary compatability */ + u_char ifm_version; /* future binary compatibility */ u_char ifm_type; /* message type */ int ifm_addrs; /* like rtm_addrs */ int ifm_flags; /* value of if_flags */ @@ -123,7 +123,7 @@ struct if_msghdr { */ struct ifa_msghdr { u_short ifam_msglen; /* to skip over non-understood messages */ - u_char ifam_version; /* future binary compatability */ + u_char ifam_version; /* future binary compatibility */ u_char ifam_type; /* message type */ int ifam_addrs; /* like rtm_addrs */ int ifam_flags; /* value of ifa_flags */ @@ -137,7 +137,7 @@ struct ifa_msghdr { */ struct ifma_msghdr { u_short ifmam_msglen; /* to skip over non-understood messages */ - u_char ifmam_version; /* future binary compatability */ + u_char ifmam_version; /* future binary compatibility */ u_char ifmam_type; /* message type */ int ifmam_addrs; /* like rtm_addrs */ int ifmam_flags; /* value of ifa_flags */ diff --git a/StdLib/Include/netns/ns.h b/StdLib/Include/netns/ns.h index 58bac08..5577862 100644 --- a/StdLib/Include/netns/ns.h +++ b/StdLib/Include/netns/ns.h @@ -63,7 +63,7 @@ #define NSPORT_RE 3 /* Router Error */ =20 /* - * Ports < NSPORT_RESERVED are reserved for priveleged + * Ports < NSPORT_RESERVED are reserved for privileged * processes (e.g. root). */ #define NSPORT_RESERVED 3000 diff --git a/StdLib/Include/stdio.h b/StdLib/Include/stdio.h index c0a4deb..b4db3b0 100644 --- a/StdLib/Include/stdio.h +++ b/StdLib/Include/stdio.h @@ -353,7 +353,7 @@ int rename (const char *OldName, const char *New= Name); /** Create a guaranteed unique temporary file. A binary file is created in the _PATH_TMP directory that is guaranteed= to have a unique name. The file will be open for update with mode "wb+" = and - its FILE pointer returned upon successfull completion. When the file = is + its FILE pointer returned upon successful completion. When the file is closed, or when the creating program terminates, the file will be remo= ved. =20 @retval NULL The temporary file could not be created. diff --git a/StdLib/Include/stdlib.h b/StdLib/Include/stdlib.h index 022ddbd..d9aaaab 100644 --- a/StdLib/Include/stdlib.h +++ b/StdLib/Include/stdlib.h @@ -73,7 +73,7 @@ size_t wcstombs (char * __restrict dest, const wchar_t * __restrict src, size_t limit); =20 - ################ Miscelaneous functions for *nix compatibility + ################ Miscellaneous functions for *nix compatibility char *realpath (const char *file_name, char *resolved_name); const char *getprogname (void); void setprogname (const char *progname); @@ -858,7 +858,7 @@ size_t mbstowcs(wchar_t * __restrict Dest, const char = * __restrict Src, size_t **/ size_t wcstombs(char * __restrict Dest, const wchar_t * __restrict Src, s= ize_t Limit); =20 -/* ############## Miscelaneous functions for *nix compatibility ########= ## */ +/* ############## Miscellaneous functions for *nix compatibility #######= ### */ =20 /** The realpath() function shall derive, from the pathname pointed to by file_name, an absolute pathname that names the same file, whose resolu= tion @@ -872,7 +872,7 @@ size_t wcstombs(char * __restrict Dest, const wchar_t = * __restrict Src, size_t @param[in] file_name The filename to convert. @param[in,out] resolved_name The resultant name. =20 - @retval NULL An error occured. + @retval NULL An error occurred. @retval resolved_name. **/ char * realpath(const char *file_name, char *resolved_name); diff --git a/StdLib/Include/sys/termios.h b/StdLib/Include/sys/termios.h index f2d60d0..1cf5e58 100644 --- a/StdLib/Include/sys/termios.h +++ b/StdLib/Include/sys/termios.h @@ -253,7 +253,7 @@ speed_t cfgetospeed (const struct termios *); @param[in] NewSpeed The new input baud rate. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EINVAL - The value of NewSpeed is outside the range = of possible speed values as specified in . **/ @@ -269,7 +269,7 @@ int cfsetispeed (struct termios *, speed_t); @param[in] NewSpeed The new output baud rate. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EINVAL - The value of NewSpeed is outside the range = of possible speed values as specified in . **/ @@ -285,7 +285,7 @@ int cfsetospeed (struct termios *, speed_t); attributes of the interactive IO device. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. **/ @@ -311,7 +311,7 @@ int tcgetattr (int fd, struct termios *pTermios); attributes to set in the interactive IO device. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. **/ @@ -323,7 +323,7 @@ int tcsetattr (int fd, int OptAct, const struct t= ermios *pTermios); @param[in] fd The file descriptor for an open interactive IO d= evice. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. * EINTR - A signal interrupted tcdrain(). @@ -348,7 +348,7 @@ int tcdrain (int fd); terminal device to start transmittin= g data. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. * EINVAL - The Action argument is not a supported valu= e. @@ -370,7 +370,7 @@ int tcflow (int fd, int Action); Otherwise error EINVAL. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. * EINVAL - The QueueSelector argument is not a support= ed value. diff --git a/StdLib/Include/sys/wait.h b/StdLib/Include/sys/wait.h index 64200aa..b188107 100644 --- a/StdLib/Include/sys/wait.h +++ b/StdLib/Include/sys/wait.h @@ -37,7 +37,7 @@ #include =20 /* - * This file holds definitions relevent to the wait4 system call + * This file holds definitions relevant to the wait4 system call * and the alternate interfaces that use it (wait, wait3, waitpid). */ =20 diff --git a/StdLib/LibC/Main/Arm/flt_rounds.c b/StdLib/LibC/Main/Arm/flt_r= ounds.c index 7e052cc..e3b595e 100644 --- a/StdLib/LibC/Main/Arm/flt_rounds.c +++ b/StdLib/LibC/Main/Arm/flt_rounds.c @@ -52,7 +52,7 @@ static const int map[] =3D { * Returns: * 0 - round to zero * 1 - round to nearest - * 2 - round to postive infinity + * 2 - round to positive infinity * 3 - round to negative infinity * * ok all we need to do is get the current FP rounding mode diff --git a/StdLib/LibC/StdLib/realpath.c b/StdLib/LibC/StdLib/realpath.c index 29abe9a..a528f13 100644 --- a/StdLib/LibC/StdLib/realpath.c +++ b/StdLib/LibC/StdLib/realpath.c @@ -29,7 +29,7 @@ @param[in] file_name The filename to convert. @param[in,out] resolved_name The resultant name. =20 - @retval NULL An error occured. + @retval NULL An error occurred. @return resolved_name. **/ char * diff --git a/StdLib/LibC/Stdio/vfscanf.c b/StdLib/LibC/Stdio/vfscanf.c index 1e8c7f9..692d55a 100644 --- a/StdLib/LibC/Stdio/vfscanf.c +++ b/StdLib/LibC/Stdio/vfscanf.c @@ -927,7 +927,7 @@ doswitch: * z', but treats `a-a' as `the letter a, the * character -, and the letter a'. * - * For compatibility, the `-' is not considerd + * For compatibility, the `-' is not considered * to define a range if the character following * it is either a close bracket (required by ANSI) * or is not numerically greater than the character diff --git a/StdLib/LibC/Uefi/InteractiveIO/TerminalFunctions.c b/StdLib/Li= bC/Uefi/InteractiveIO/TerminalFunctions.c index 807ab1f..d6d95e8 100644 --- a/StdLib/LibC/Uefi/InteractiveIO/TerminalFunctions.c +++ b/StdLib/LibC/Uefi/InteractiveIO/TerminalFunctions.c @@ -68,7 +68,7 @@ cfgetospeed ( @param[in] NewSpeed The new input baud rate. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EINVAL - The value of NewSpeed is outside the range = of possible speed values as specified in . **/ @@ -101,7 +101,7 @@ cfsetispeed ( @param[in] NewSpeed The new output baud rate. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EINVAL - The value of NewSpeed is outside the range = of possible speed values as specified in . **/ @@ -134,7 +134,7 @@ cfsetospeed ( attributes of the interactive IO device. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. **/ @@ -191,7 +191,7 @@ tcgetattr ( attributes to set in the interactive IO device. =20 @retval 0 The operation completed successfully. - @retval -1 An error occured and errno is set to indicate the error. + @retval -1 An error occurred and errno is set to indicate the error. * EBADF - The fd argument is not a valid file descript= or. * ENOTTY - The file associated with fd is not an inter= active IO device. **/ diff --git a/StdLib/LibC/Uefi/SysCalls.c b/StdLib/LibC/Uefi/SysCalls.c index 0c8dcc1..23b5984 100644 --- a/StdLib/LibC/Uefi/SysCalls.c +++ b/StdLib/LibC/Uefi/SysCalls.c @@ -910,7 +910,7 @@ poll ( @param[in] To The new name of From. =20 @retval 0 Successful completion. - @retval -1 An error has occured and errno has been set to further= specify the error. + @retval -1 An error has occurred and errno has been set to furthe= r specify the error. Neither the file named by From nor the file named by T= o are changed or created. - ENXIO: Path specified is not supported by any load= ed driver. @@ -951,7 +951,7 @@ rename( @param[in] path Path to the directory to delete. =20 @retval -1 The directory couldn't be opened (doesn't exist). - @retval -1 The directory wasn't empty or an IO error occured. + @retval -1 The directory wasn't empty or an IO error occurred. **/ int rmdir( @@ -1072,7 +1072,7 @@ lstat (const char *path, struct stat *statbuf) @param[in,out] ... Zero or more parameters as required for re= quest. =20 @retval >=3D0 The operation completed successfully. - @retval -1 An error occured. More information is in errno. + @retval -1 An error occurred. More information is in errno. **/ int ioctl( @@ -1441,7 +1441,7 @@ va_Utimes( @param[in] times Pointer to an array of two timeval structures =20 @retval 0 File times successfully set. - @retval -1 An error occured. Error type in errno. + @retval -1 An error occurred. Error type in errno. **/ int utimes( diff --git a/StdLib/LibC/Wchar/String.c b/StdLib/LibC/Wchar/String.c index 70f6d9a..8ccbcfd 100644 --- a/StdLib/LibC/Wchar/String.c +++ b/StdLib/LibC/Wchar/String.c @@ -1,5 +1,5 @@ /** @file - Miscelaneous Functions for . + Miscellaneous Functions for . =20 Unless explicitly stated otherwise, if the execution of a function decla= red in this file causes copying to take place between objects that overlap, = the diff --git a/StdLib/LibC/gdtoa/gdtoaimp.h b/StdLib/LibC/gdtoa/gdtoaimp.h index a5eaa72..601c908 100644 --- a/StdLib/LibC/gdtoa/gdtoaimp.h +++ b/StdLib/LibC/gdtoa/gdtoaimp.h @@ -1,5 +1,5 @@ /** @file - This is a variation on dtoa.c that converts arbitary binary + This is a variation on dtoa.c that converts arbitrary binary floating-point formats to and from decimal notation. It uses double-precision arithmetic internally, so there are still various #ifdefs that adapt the calculations to the native diff --git a/StdLib/PosixLib/Gen/dirname.c b/StdLib/PosixLib/Gen/dirname.c index eb924d4..53f253f 100644 --- a/StdLib/PosixLib/Gen/dirname.c +++ b/StdLib/PosixLib/Gen/dirname.c @@ -70,7 +70,7 @@ dirname(char *path) while (lastp !=3D path && isDirSep(*lastp)) lastp--; =20 - /* Terminate path at the last occurence of '/'. */ + /* Terminate path at the last occurrence of '/'. */ do { if (isDirSep(*lastp)) { /* Strip trailing slashes, if any. */ --=20 2.39.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111698): https://edk2.groups.io/g/devel/message/111698 Mute This Topic: https://groups.io/mt/102779152/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-