]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix comment for Ipc::Mem::Segment::create() method.
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Tue, 4 Oct 2011 17:24:59 +0000 (21:24 +0400)
committerDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Tue, 4 Oct 2011 17:24:59 +0000 (21:24 +0400)
It does not fail if a segment with the same name already exists.

src/ipc/mem/Segment.h

index 3becf7426e3b3f76d800d487082946980703b643..138de2b98cc348426bc256e3cb1597a158636b12 100644 (file)
@@ -25,8 +25,7 @@ public:
     /// Whether shared memory support is available
     static bool Enabled();
 
-    /// Create a new shared memory segment. Fails if a segment with
-    /// the same name already exists. Unlinks the segment on destruction.
+    /// Create a new shared memory segment. Unlinks the segment on destruction.
     void create(const off_t aSize);
     void open(); ///< Open an existing shared memory segment.