[GRASS-SVN] r39789 - grass/trunk/lib/segment
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 23 04:38:46 EST 2009
Author: mmetz
Date: 2009-11-23 04:38:44 -0500 (Mon, 23 Nov 2009)
New Revision: 39789
Modified:
grass/trunk/lib/segment/format.c
Log:
LFS check bugfix
Modified: grass/trunk/lib/segment/format.c
===================================================================
--- grass/trunk/lib/segment/format.c 2009-11-23 09:34:24 UTC (rev 39788)
+++ grass/trunk/lib/segment/format.c 2009-11-23 09:38:44 UTC (rev 39789)
@@ -123,7 +123,7 @@
if (sizeof(off_t) == 4) {
double file_size;
- file_size = (double) nrows * ncols * len > INT_MAX;
+ file_size = (double) nrows * ncols * len;
if (file_size > INT_MAX) {
G_warning("segment file size would be %.2fGB, but file size limit is 2GB", file_size / (1 << 30));
More information about the grass-commit
mailing list