Parcourir la source

[3706] Fixed the two typos in the comments of ProcessSpawn.

Marcin Siodelski il y a 10 ans
Parent
commit
c9741c5148
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      src/lib/util/process_spawn.cc
  2. 2 2
      src/lib/util/process_spawn.h

+ 2 - 2
src/lib/util/process_spawn.cc

@@ -34,8 +34,8 @@ namespace util {
 /// This class is made noncopyable so that we don't have attempts
 /// to make multiple copies of an object.  This avoid problems
 /// with multiple copies of objects for a single global resource
-/// such as the SIGCHLD signal handler.  In addition making it
-/// noncopyable keeps the static check codd from flagging the
+/// such as the SIGCHLD signal handler. In addition making it
+/// noncopyable keeps the static check code from flagging the
 /// lack of a copy constructor as an issue.
 class ProcessSpawnImpl : boost::noncopyable {
 public:

+ 2 - 2
src/lib/util/process_spawn.h

@@ -57,8 +57,8 @@ typedef std::vector<std::string> ProcessArgs;
 /// This class is made noncopyable so that we don't have attempts
 /// to make multiple copies of an object.  This avoid problems
 /// with multiple copies of objects for a single global resource
-/// such as the SIGCHLD signal handler.  In addition making it
-/// noncopyable keeps the static check codd from flagging the
+/// such as the SIGCHLD signal handler. In addition making it
+/// noncopyable keeps the static check code from flagging the
 /// lack of a copy constructor as an issue.
 ///
 /// @todo The SIGCHLD handling logic should be moved to the @c SignalSet