Explorar el Código

Mass typo fixes in comments for rtl part 2/2.

Margers hace 4 días
padre
commit
d8cb1e2ba4

+ 1 - 1
rtl/README.txt

@@ -21,7 +21,7 @@ The tree contains subdirectories for all the supported operating systems,
 as well as all processor architectures. The processor directories contain
 low-level routines which are required for the system unit (if they are not
 available in high-level language form), as well as optimized versions of
-the pascal generic routines (the generic routine source code is localed in
+the pascal generic routines (the generic routine source code is localized in
 the inc subdirectory).
 
 Enjoy.

+ 1 - 1
rtl/aix/termios.inc

@@ -476,7 +476,7 @@ const
   VDISCRD = 12;
   VWERSE = 13;
   VLNEXT = 14;
-{ 5.4 compatability  }
+{ 5.4 compatibility  }
   VSTRT = VSTART;
 
 const

+ 1 - 1
rtl/beos/tthread.inc

@@ -291,7 +291,7 @@ end;
   A thread is created using BeginThread, which in turn calls
   pthread_create. So the threads here are always posix threads.
   Posix doesn't define anything for suspending threads as this is
-  inherintly unsafe. Just don't suspend threads at points they cannot
+  inherently unsafe. Just don't suspend threads at points they cannot
   control. Therefore, I didn't implement .Suspend() if its called from
   outside the threads execution flow (except on Linux _without_ NPTL).
 

+ 1 - 1
rtl/beos/unxfunc.inc

@@ -50,7 +50,7 @@ Function AssignPipe(var pipe_in,pipe_out:cint):cint; [public, alias : 'FPC_SYSC_
 {
   Sets up a pair of file variables, which act as a pipe. The first one can
   be read from, the second one can be written to.
-  If the operation was unsuccesful, linuxerror is set.
+  If the operation was unsuccessful, linuxerror is set.
 }
 var
   ret  : longint;

+ 1 - 1
rtl/embedded/avr/at90pwm216.pp

@@ -336,7 +336,7 @@ const
   AMP1TS = 0; //
   // UCSRA
   RXC = 7; // USART Receive Complete
-  TXC = 6; // USART Transmitt Complete
+  TXC = 6; // USART Transmit Complete
   UDRE = 5; // USART Data Register Empty
   FE = 4; // Framing Error
   DOR = 3; // Data Overrun

+ 1 - 1
rtl/embedded/avr/at90pwm2b.pp

@@ -336,7 +336,7 @@ const
   AMP1TS = 0; //
   // UCSRA
   RXC = 7; // USART Receive Complete
-  TXC = 6; // USART Transmitt Complete
+  TXC = 6; // USART Transmit Complete
   UDRE = 5; // USART Data Register Empty
   FE = 4; // Framing Error
   DOR = 3; // Data Overrun

+ 1 - 1
rtl/embedded/avr/at90pwm316.pp

@@ -363,7 +363,7 @@ const
   AMP1TS = 0; //
   // UCSRA
   RXC = 7; // USART Receive Complete
-  TXC = 6; // USART Transmitt Complete
+  TXC = 6; // USART Transmit Complete
   UDRE = 5; // USART Data Register Empty
   FE = 4; // Framing Error
   DOR = 3; // Data Overrun

+ 1 - 1
rtl/embedded/avr/at90pwm3b.pp

@@ -363,7 +363,7 @@ const
   AMP1TS = 0; //
   // UCSRA
   RXC = 7; // USART Receive Complete
-  TXC = 6; // USART Transmitt Complete
+  TXC = 6; // USART Transmit Complete
   UDRE = 5; // USART Data Register Empty
   FE = 4; // Framing Error
   DOR = 3; // Data Overrun

+ 1 - 1
rtl/embedded/avr/atmega16hvb.pp

@@ -172,7 +172,7 @@ const
   // CADCSRB
   CADACIE = 6; //
   CADRCIE = 5; // Regular Current Interrupt Enable
-  CADICIE = 4; // CAD Instantenous Current Interrupt Enable
+  CADICIE = 4; // CAD Instantaneous Current Interrupt Enable
   CADACIF = 2; // CC-ADC Accumulate Current Interrupt Flag
   CADRCIF = 1; // CC-ADC Accumulate Current Interrupt Flag
   CADICIF = 0; // CC-ADC Instantaneous Current Interrupt Flag

+ 1 - 1
rtl/embedded/avr/atmega32hvb.pp

@@ -172,7 +172,7 @@ const
   // CADCSRB
   CADACIE = 6; //
   CADRCIE = 5; // Regular Current Interrupt Enable
-  CADICIE = 4; // CAD Instantenous Current Interrupt Enable
+  CADICIE = 4; // CAD Instantaneous Current Interrupt Enable
   CADACIF = 2; // CC-ADC Accumulate Current Interrupt Flag
   CADRCIF = 1; // CC-ADC Accumulate Current Interrupt Flag
   CADICIF = 0; // CC-ADC Instantaneous Current Interrupt Flag

+ 2 - 2
rtl/embedded/avr/atmega64hve2.pp

@@ -227,8 +227,8 @@ const
   WUTIF = $07;
   // Watchdog Timer Configuration Lock Register
   WDCLE = $00;
-  WDCL0 = $01;  // Watchdog Timer Comfiguration Lock bits
-  WDCL1 = $02;  // Watchdog Timer Comfiguration Lock bits
+  WDCL0 = $01;  // Watchdog Timer Configuration Lock bits
+  WDCL1 = $02;  // Watchdog Timer Configuration Lock bits
   // Power Reduction Register 0
   PRTIM0 = $00;
   PRTIM1 = $01;

+ 1 - 1
rtl/embedded/avr/attiny2313.pp

@@ -129,7 +129,7 @@ const
   PCIF = 5; //
   // UCSRA
   RXC = 7; // USART Receive Complete
-  TXC = 6; // USART Transmitt Complete
+  TXC = 6; // USART Transmit Complete
   UDRE = 5; // USART Data Register Empty
   FE = 4; // Framing Error
   DOR = 3; // Data overRun

+ 1 - 1
rtl/embedded/riscv32/gd32vf103xx.pp

@@ -15,7 +15,7 @@ type
     CLIC_BWEI_IRQn      = 17,    // Bus Error interrupt
     CLIC_PMOVI_IRQn     = 18,    // Performance Monitor
 
-    // interruput numbers
+    // interrupt numbers
     WWDGT_IRQn          = 19,    // window watchDog timer interrupt
     LVD_IRQn            = 20,    // LVD through EXTI line detect interrupt
     TAMPER_IRQn         = 21,    // tamper through EXTI line detect

+ 1 - 1
rtl/haiku/unxfunc.inc

@@ -50,7 +50,7 @@ Function AssignPipe(var pipe_in,pipe_out:cint):cint; [public, alias : 'FPC_SYSC_
 {
   Sets up a pair of file variables, which act as a pipe. The first one can
   be read from, the second one can be written to.
-  If the operation was unsuccesful, linuxerror is set.
+  If the operation was unsuccessful, linuxerror is set.
 }
 var
   ret  : longint;

+ 1 - 1
rtl/inc/cgeneric.inc

@@ -41,7 +41,7 @@ Procedure FillChar(var x;count: sizeint;value:byte);{$ifdef SYSTEMINLINE}inline;
 begin
   { don't exit if count is <= 0, this makes the compiler think x is uninitialized,
     as FillChar is probably rarely called with count <= 0, the performance hit is
-    probably neglible }
+    probably negligible }
   if count < 0 then
     count := 0;
   memset(x,value,size_t(count));

+ 1 - 1
rtl/inc/osheap.inc

@@ -15,7 +15,7 @@
 
 {
   The OS heap manager is a small heap manager for smaller targets with an
-  operating system. It's similar in comcept to the "cmem" memory manager
+  operating system. It's similar in concept to the "cmem" memory manager
   for systems with libc support, but it aims systems that have a direct
   heap management API (Sinclair QL, AmigaOS, MacOS Classic, some
   embedded systems, etc), but not necessarily libc. It's also designed

+ 1 - 1
rtl/netbsd/ptypes.inc

@@ -170,7 +170,7 @@ struct statfs12 {
     end;
    pmbstate_t = ^mbstate_t;
 
-{ records transcripted fromm NetBSD 5.1 libpthread sources }
+{ records transcribed fromm NetBSD 5.1 libpthread sources }
    pthread_t            = pointer;
    pthread_attr_t       = record
      pta_magic : cuint;

+ 1 - 1
rtl/os2/doscall2.pas

@@ -845,7 +845,7 @@ DosGetProcessorStatus allows checking status of individual processors
 in a SMP machine.
 
 Parameters:
-ProcID = Procesor ID numbered 1 through n, where there are n processors in
+ProcID = Processor ID numbered 1 through n, where there are n processors in
          total.
 Status = Returned processor status defined as follows:
   PROC_OFFLINE 0x00000000 Processor is offline

+ 1 - 1
rtl/ps1/psy-q-sdk/libsnd.pas

@@ -65,7 +65,7 @@ const
 
 // Vag & Vab Structure
 type
-	VabHdr = packed record			// VAB Bank Headdings
+	VabHdr = packed record			// VAB Bank Headings
 		form : longint;          	// always 'VABp'
 		ver : longint;           	// VAB file version number
 		id : longint;            	// VAB id

+ 1 - 1
rtl/unix/sysdir.inc

@@ -61,7 +61,7 @@ End;
 // !! on special filesystems like NFS etc.
 // !! In the libc versions, the alt code is already integrated in the libc code.
 // !! Also significantly boosted buffersize. This will make failure of the
-// !! dos legacy api's better visibile due to cut-off path, instead of "empty"
+// !! dos legacy api's better visible due to cut-off path, instead of "empty"
 
 
 procedure do_getdir(drivenr : byte;var dir : rawbytestring);

+ 1 - 1
rtl/unix/unixutil.pp

@@ -12,7 +12,7 @@
 
     The routines are fairly OS independent but can't move to
     OS independent because the lowlevel units baseunix/unix depend
-    on them. If they need to be generally accessable, copy these
+    on them. If they need to be generally accessible, copy these
     functions to a general purpose, OS independent, supportable unit.
 
     See the file COPYING.FPC, included in this distribution,

+ 1 - 1
rtl/win16/win31.pp

@@ -978,7 +978,7 @@ function GetMessageExtraInfo: LPARAM; external 'USER';
 function GetQueueStatus(flags: UINT): DWORD; external 'USER';
 
 { Window class management }
-{ in Windows 3.1+, RegisterClass returns an ATOM that unquely identifies the
+{ in Windows 3.1+, RegisterClass returns an ATOM that uniquely identifies the
   class. In Windows 3.0 and earlier, the return value is BOOL. That's why we
   redefine this function in the win31 unit. }
 function RegisterClass(lpwc: LPWNDCLASS): ATOM; external 'USER';

+ 1 - 1
rtl/win16/winprocsh.inc

@@ -792,7 +792,7 @@ procedure PostQuitMessage(nExitCode: SmallInt); external 'USER';
 
 { Window class management }
 
-{ in Windows 3.1+, RegisterClass returns an ATOM that unquely identifies the
+{ in Windows 3.1+, RegisterClass returns an ATOM that uniquely identifies the
   class. In Windows 3.0 and earlier, the return value is BOOL. That's why we
   redefine this function in the win31 unit. }
 function RegisterClass(lpwc: LPWNDCLASS): BOOL; external 'USER';

+ 1 - 1
rtl/wince/wininc/defines.inc

@@ -869,7 +869,7 @@
      WS_EX_NODRAG           = $40000000;
      WS_EX_CAPTIONOKBTN     = $80000000;
 
-     WS_EX_NOINHERITLAYOUT  = $00100000; // Disable inheritence of mirroring by children
+     WS_EX_NOINHERITLAYOUT  = $00100000; // Disable inheritance of mirroring by children
      WS_EX_LAYOUTRTL        = $00400000; // Right to left mirroring