mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-19 17:30:27 +08:00
another scan-build bug fix
This commit is contained in:
parent
e0e763f4c9
commit
cb25985208
@ -211,9 +211,12 @@ is used, then at close, the contents of the memory file will be
|
||||
made persistent in the file path that was specified in the nc_create
|
||||
call. If NC_DISKLESS is going to be used for creating a large classic file,
|
||||
it behooves one to use either nc__create or nc_create_mp and specify
|
||||
an appropriately large value of the initialsz parameter. This is
|
||||
because the in-memory file is kept as a single piece of heap memory,
|
||||
and specifying the initial size will reduce the number of heap reallocations.
|
||||
an appropriately large value of the initialsz parameter to avoid
|
||||
to many extensions to the in-memory space for the file.
|
||||
|
||||
Normally, NC_DISKLESS allocates space in the heap for storing
|
||||
the in-memory file. If, however, the ./configure flags --enable-mmap
|
||||
is used, then mmap will be used.
|
||||
|
||||
Note that nc_create(path,cmode,ncidp) is equivalent to the invocation of
|
||||
nc__create(path,cmode,NC_SIZEHINT_DEFAULT,NULL,ncidp).
|
||||
|
@ -280,6 +280,7 @@ Note: --disable prefix indicates that the option is normally enabled.
|
||||
<tr><td>--disable-shared<td>build shared libraries<td>
|
||||
<tr><td>--disable-static<td>build static libraries<td>
|
||||
<tr><td>--disable-largefile<td>omit support for large files<td>
|
||||
<tr><td>--enable-mmap<td>Use mmap to implement NC_DISKLESS<td>
|
||||
</table>
|
||||
*/
|
||||
|
||||
|
841
oc/daptab.c
841
oc/daptab.c
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,9 @@
|
||||
/* A Bison parser, made by GNU Bison 2.5. */
|
||||
/* A Bison parser, made by GNU Bison 2.4.3. */
|
||||
|
||||
/* Bison interface for Yacc-like parsers in C
|
||||
/* Skeleton interface for Bison's Yacc-like parsers in C
|
||||
|
||||
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
|
||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||
2009, 2010 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
Loading…
x
Reference in New Issue
Block a user