/[global]/global/libutil/dbop.c
ViewVC logotype

Diff of /global/libutil/dbop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by shigio, Wed Aug 24 14:50:24 2005 UTC revision 1.26 by shigio, Wed Sep 21 15:12:58 2005 UTC
# Line 93  dbop_open(path, mode, perm, flags) Line 93  dbop_open(path, mode, perm, flags)
93          info.psize = DBOP_PAGESIZE;          info.psize = DBOP_PAGESIZE;
94          /*          /*
95           * accept user's request but needs 0.5MB at least.           * accept user's request but needs 0.5MB at least.
96             * The default value is 5MB.
97           */           */
98            info.cachesize = 5000000;
99          if (getenv("GTAGSCACHE") != NULL)          if (getenv("GTAGSCACHE") != NULL)
100                  info.cachesize = atoi(getenv("GTAGSCACHE"));                  info.cachesize = atoi(getenv("GTAGSCACHE"));
101          if (info.cachesize < 500000)          if (info.cachesize < 500000)

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26