Przeglądaj źródła

STYLE: minor comments

Mathieu Malaterre 17 lat temu
rodzic
commit
f410daffec
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      Source/kwsys/Process.h.in
  2. 1 1
      Source/kwsys/ProcessUNIX.c

+ 2 - 2
Source/kwsys/Process.h.in

@@ -106,7 +106,7 @@ kwsysEXPORT void kwsysProcess_Delete(kwsysProcess* cp);
 
 /**
  * Set the command line to be executed.  Argument is an array of
- * pointers to the command and each argument.  Ths array must end with
+ * pointers to the command and each argument.  The array must end with
  * a NULL pointer.  Any previous command lines are removed.  Returns
  * 1 for success and 0 otherwise.
  */
@@ -115,7 +115,7 @@ kwsysEXPORT int kwsysProcess_SetCommand(kwsysProcess* cp,
 
 /**
  * Add a command line to be executed.  Argument is an array of
- * pointers to the command and each argument.  Ths array must end with
+ * pointers to the command and each argument.  The array must end with
  * a NULL pointer.  If this is not the first command added, its
  * standard input will be connected to the standard output of the
  * previous command.  Returns 1 for success and 0 otherwise.

+ 1 - 1
Source/kwsys/ProcessUNIX.c

@@ -2408,7 +2408,7 @@ static void kwsysProcessKill(pid_t process_id)
         {
         if(ppid == process_id)
           {
-          /* Recursively kill this child aned its children.  */
+          /* Recursively kill this child and its children.  */
           kwsysProcessKill(pid);
           }
         }