[PATCH 6/7] ntdll: Fix spelling in some comments (codespell).

Mathew Hodson mathew.hodson at gmail.com
Sun Jan 26 03:19:40 CST 2020


Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
---
 dlls/ntdll/rtlbitmap.c | 12 ++++++------
 dlls/ntdll/sec.c       |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/ntdll/rtlbitmap.c b/dlls/ntdll/rtlbitmap.c
index d0a4e5c..5bd2cd8 100644
--- a/dlls/ntdll/rtlbitmap.c
+++ b/dlls/ntdll/rtlbitmap.c
@@ -138,7 +138,7 @@ VOID WINAPI RtlSetBits(PRTL_BITMAP lpBits, ULONG ulStart, ULONG ulCount)
     return;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
@@ -199,7 +199,7 @@ VOID WINAPI RtlClearBits(PRTL_BITMAP lpBits, ULONG ulStart, ULONG ulCount)
     return;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
@@ -262,7 +262,7 @@ BOOLEAN WINAPI RtlAreBitsSet(PCRTL_BITMAP lpBits, ULONG ulStart, ULONG ulCount)
     return FALSE;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
@@ -335,7 +335,7 @@ BOOLEAN WINAPI RtlAreBitsClear(PCRTL_BITMAP lpBits, ULONG ulStart, ULONG ulCount
     return FALSE;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
@@ -680,7 +680,7 @@ static ULONG NTDLL_FindSetRun(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpSize)
   ULONG ulFoundAt = 0, ulCount = 0;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
@@ -777,7 +777,7 @@ static ULONG NTDLL_FindClearRun(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpSiz
   ULONG ulFoundAt = 0, ulCount = 0;
 
   /* FIXME: It might be more efficient/cleaner to manipulate four bytes
-   * at a time. But beware of the pointer arithmetics...
+   * at a time. But beware of the pointer arithmetic...
    */
   lpOut = ((BYTE*)lpBits->Buffer) + (ulStart >> 3u);
 
diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c
index 464104d..00f523c 100644
--- a/dlls/ntdll/sec.c
+++ b/dlls/ntdll/sec.c
@@ -1140,7 +1140,7 @@ NTSTATUS WINAPI RtlCreateAcl(PACL acl,DWORD size,DWORD rev)
 
 /**************************************************************************
  *                 RtlFirstFreeAce			[NTDLL.@]
- * looks for the AceCount+1 ACE, and if it is still within the alloced
+ * looks for the AceCount+1 ACE, and if it is still within the allocated
  * ACL, return a pointer to it
  */
 BOOLEAN WINAPI RtlFirstFreeAce(
-- 
2.7.4




More information about the wine-devel mailing list