Commit Graph

28 Commits

Author SHA1 Message Date
Ward Fisher
612b35a84c Merge branch 'master' into cdf-5, in preparation for merging the CDF-5 functionality into the master branch. This will be the key new feature for netcdf 4.4.0. 2015-11-05 13:40:35 -07:00
tbeu
e2820e4d8a Fix common typos
Detected by https://github.com/vlajos/misspell_fixer
2015-08-20 11:42:05 +02:00
dmh
859f105005 merge-squash 2015-08-15 16:26:35 -06:00
Ward Fisher
1f5e6379e4 Fixed a memory corruption. Coverity issue: 1265729: Out-of-bounds access. 2015-07-29 14:58:34 -06:00
Ward Fisher
8bda7fdf67 Fleshed out comments a little more, added a specific check for older systems which return -1 instead of bytes read when the read() call is interrupted and errno is EINTR. 2015-07-21 14:08:44 -06:00
Ward Fisher
7164a99cbc Added some comments. 2015-07-21 14:00:37 -06:00
Ward Fisher
382b24c2c9 Addressing a signal-interrupted read which sets errno to EINTR [NCF-337] 2015-07-21 13:55:59 -06:00
dmh
3dd807a155 The original mem branch somehow got
hosed, so I rebuilt it as a new mem2 branch.
2015-05-28 15:10:10 -06:00
posophe
327731852e correct casting 2015-04-18 13:09:46 +02:00
Ward Fisher
056de3f69d Corrected a logic error introduced in previous commit. 2014-08-27 15:40:41 -06:00
Ward Fisher
dac65bdab8 Removed a commented-out block of code. 2014-08-27 14:40:40 -06:00
Ward Fisher
4286822b91 Moved lseek call out of assert statement into an explicit check. JIRA NCF-312. 2014-08-27 14:26:54 -06:00
Ward Fisher
7786b78cfc Reorganized Windows includes. 2014-02-04 11:10:27 -07:00
Ward Fisher
c1407c3239 Removed stray debugging message. 2014-02-03 14:42:56 -07:00
Ward Fisher
5566cbb772 Added a check for _filelengthi64 in configuration. When found, this will be used instead of fstat when computing file length. 2013-11-04 12:58:33 -07:00
Ward Fisher
bda59030cb Replaced call to fstat with call to filelength, on apropriate system. 2013-11-01 16:30:33 -06:00
Ward Fisher
81280c7878 Merge from latest netcdf-cmake branch.
- Fixes for Windows.
- CMake-based changes (functionality, tests).
- Smattering of coverity-informed bug-fixes.
2012-12-05 18:35:42 +00:00
Dennis Heimbigner
076e78e91c Fix Jira bug NC-198 2012-10-02 14:54:19 +00:00
Ward Fisher
5d6e88cf83 Added a check for closing an unopened file which only seemds to be an
issue on Windows, under MSVC.
2012-09-14 23:01:40 +00:00
Dennis Heimbigner
cd36ff7682 fix #elif problem 2012-07-18 16:14:08 +00:00
Dennis Heimbigner
8c01f7437f fixed valgrind error in tst_h_strings.c 2012-07-18 15:50:29 +00:00
Ward Fisher
75a48b9e9e Integrated changes from trunk, began adding CMake support, updated 'build everything' script. 2012-07-02 22:59:59 +00:00
Dennis Heimbigner
7e27052f87 - Implemented diskless files for both netcdf classic and extended.
The in-memory files can be made persistent if nc_create is called with
  NC_DISKLESS|NC_WRITE flags set. Initial test case also included.
- Modified ncio mechanism to support
  multiple ncio packages; this is so we
  can have posixio and memio operating
  at the same time.
- cleanup up a bunch of lint issues (unused variables, etc).
2012-03-26 01:34:32 +00:00
Russ Rew
74c9b713bd Fix for nofill bug and test 2011-04-28 19:50:56 +00:00
Ed Hartnett
4de8b33251 rolled everything back to 1119 2011-04-28 17:11:21 +00:00
Russ Rew
0f4a94518d Fixed nofill bug, cosmetic updates to tutrial 2011-04-28 15:08:03 +00:00
Russ Rew
7a34f42844 Applied Harold Anlauf's patch for a longstanding bug in
libsrc/posixio.c when providing a sizehint which is larger than the
hardcoded value of NCIO_MAXBLOCKSIZE, which doesn't then get used.
2010-06-30 17:27:24 +00:00
Ed Hartnett
18f4bca367 moving to trunk subdir 2010-06-03 13:24:43 +00:00