[GRASS-SVN] r50089 - grass/branches/develbranch_6/vector/v.kernel
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 7 11:43:22 EST 2012
Author: neteler
Date: 2012-01-07 08:43:22 -0800 (Sat, 07 Jan 2012)
New Revision: 50089
Modified:
grass/branches/develbranch_6/vector/v.kernel/main.c
Log:
v.kernel: valid file descriptors are non-negative (backport from trunk, r50084)
Modified: grass/branches/develbranch_6/vector/v.kernel/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.kernel/main.c 2012-01-07 16:43:15 UTC (rev 50088)
+++ grass/branches/develbranch_6/vector/v.kernel/main.c 2012-01-07 16:43:22 UTC (rev 50089)
@@ -79,7 +79,7 @@
char *mapset;
struct Map_info In, Net, Out;
- int fdout = 0, maskfd = 0;
+ int fdout = -1, maskfd = -1;
int node_method, kernel_function;
int row, col;
struct Cell_head window;
More information about the grass-commit
mailing list