From: Dmitry Kurochkin Date: Tue, 4 Oct 2011 17:24:59 +0000 (+0400) Subject: Fix comment for Ipc::Mem::Segment::create() method. X-Git-Tag: BumpSslServerFirst.take01~122^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=159535702cd2a2567f92afccce6e8c705aa4e329;p=thirdparty%2Fsquid.git Fix comment for Ipc::Mem::Segment::create() method. It does not fail if a segment with the same name already exists. --- diff --git a/src/ipc/mem/Segment.h b/src/ipc/mem/Segment.h index 3becf7426e..138de2b98c 100644 --- a/src/ipc/mem/Segment.h +++ b/src/ipc/mem/Segment.h @@ -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.