[Groonga-commit] groonga/grnxx [master] Fix comments.

Back to archive index

susumu.yata null+****@clear*****
Thu Dec 6 20:04:32 JST 2012


susumu.yata	2012-12-06 20:04:32 +0900 (Thu, 06 Dec 2012)

  New Revision: 97719cb5cfe3111a605a1818ac59d99ffb84dfd3
  https://github.com/groonga/grnxx/commit/97719cb5cfe3111a605a1818ac59d99ffb84dfd3

  Log:
    Fix comments.

  Modified files:
    lib/io/view.hpp

  Modified: lib/io/view.hpp (+1 -6)
===================================================================
--- lib/io/view.hpp    2012-12-06 20:02:48 +0900 (3c79758)
+++ lib/io/view.hpp    2012-12-06 20:04:32 +0900 (2d012a5)
@@ -28,8 +28,7 @@ typedef FlagsImpl<ViewFlagsIdentifier> ViewFlags;
 
 // VIEW_WRITE_ONLY is ignored if VIEW_READ_ONLY is enabled.
 // VIEW_READ_ONLY is disabled if VIEW_CREATE is specified.
-// If both flags are not set, and object is created/opened/mapped in
-// read-write mode.
+// If both flags are not set, a memory mapping is created in read-write mode.
 
 // Read-only mode.
 const ViewFlags VIEW_READ_ONLY  = ViewFlags::define(0x0001);
@@ -39,10 +38,6 @@ const ViewFlags VIEW_WRITE_ONLY = ViewFlags::define(0x0002);
 // VIEW_ANONYMOUS disables all the flags other than GRNXX_HUGE_TLB and
 // enables VIEW_PRIVATE.
 // VIEW_CREATE disables VIEW_READ_ONLY.
-// VIEW_OPEN is enabled if VIEW_CREATE is not specified.
-// If both VIEW_CREATE and VIEW_OPEN are set, it first tries to create
-// an object and, if already exists, then tries to open the existing object.
-// VIEW_TEMPORARY disables other flags.
 
 // Anonymous mode.
 const ViewFlags VIEW_ANONYMOUS  = ViewFlags::define(0x0010);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index