[Secure Coding] master: Fix typos spotted by Kamil Dudka (39e08eb)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Repository : http://git.fedorahosted.org/git/?p=secure-coding.git

On branch  : master

>---------------------------------------------------------------

commit 39e08eb0e4bd694b7856be4bfe33284434c53e95
Author: Florian Weimer <fweimer@xxxxxxxxxx>
Date:   Mon Dec 2 14:38:10 2013 +0100

    Fix typos spotted by Kamil Dudka


>---------------------------------------------------------------

 defensive-coding/en-US/C-Language.xml            |    2 +-
 defensive-coding/en-US/Tasks-Processes.xml       |    4 ++--
 defensive-coding/en-US/Tasks-Temporary_Files.xml |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/defensive-coding/en-US/C-Language.xml b/defensive-coding/en-US/C-Language.xml
index f50e36c..b1eeec0 100644
--- a/defensive-coding/en-US/C-Language.xml
+++ b/defensive-coding/en-US/C-Language.xml
@@ -123,7 +123,7 @@
 		  xmlns:xi="http://www.w3.org/2001/XInclude"; />
     </example>
     <para>
-      Basic arithmetic operations a commutative, so for bounds checks,
+      Basic arithmetic operations are commutative, so for bounds checks,
       there are two different but mathematically equivalent
       expressions.  Sometimes, one of the expressions results in
       better code because parts of it can be reduced to a constant.
diff --git a/defensive-coding/en-US/Tasks-Processes.xml b/defensive-coding/en-US/Tasks-Processes.xml
index 90f01f0..141232a 100644
--- a/defensive-coding/en-US/Tasks-Processes.xml
+++ b/defensive-coding/en-US/Tasks-Processes.xml
@@ -24,7 +24,7 @@
       <para>
 	The configured program name should be an absolute path.  If it
 	is a relative path, the contents of the <envar>PATH</envar>
-	must be obtained in s secure manner (see <xref
+	must be obtained in a secure manner (see <xref
 	linkend="sect-Defensive_Coding-Tasks-secure_getenv"/>).
 	If the <envar>PATH</envar> variable is not set or untrusted,
 	the safe default <literal>/bin:/usr/bin</literal> must be
@@ -290,7 +290,7 @@
     <para>
       At the moment, the parent process should explicitly wait for
       termination of the child process using
-      <function>waitpid</function> or <function>waitpid</function>,
+      <function>waitpid</function> or <function>waitid</function>,
       and hope that the status is not collected by an event loop
       first.
     </para>
diff --git a/defensive-coding/en-US/Tasks-Temporary_Files.xml b/defensive-coding/en-US/Tasks-Temporary_Files.xml
index d78bad7..45cefdf 100644
--- a/defensive-coding/en-US/Tasks-Temporary_Files.xml
+++ b/defensive-coding/en-US/Tasks-Temporary_Files.xml
@@ -6,7 +6,7 @@
   <para>
     In this chapter, we describe how to create temporary files and
     directories, how to remove them, and how to work with programs
-    which do not create files in ways that a safe with a shared
+    which do not create files in ways that are safe with a shared
     directory for temporary files.  General file system manipulation
     is treated in a separate chapter, <xref
     linkend="chap-Defensive_Coding-Tasks-File_System"/>.

--
security mailing list
security@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/security





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Coolkey]

  Powered by Linux