[GRASS-SVN] r40558 - grass/branches/develbranch_6/db/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 19 18:25:24 EST 2010
Author: hamish
Date: 2010-01-19 18:25:23 -0500 (Tue, 19 Jan 2010)
New Revision: 40558
Modified:
grass/branches/develbranch_6/db/base/execute.c
Log:
in=- means read from stdin
Modified: grass/branches/develbranch_6/db/base/execute.c
===================================================================
--- grass/branches/develbranch_6/db/base/execute.c 2010-01-19 17:02:36 UTC (rev 40557)
+++ grass/branches/develbranch_6/db/base/execute.c 2010-01-19 23:25:23 UTC (rev 40558)
@@ -46,7 +46,7 @@
parse_command_line(argc, argv);
- if (parms.input) {
+ if (parms.input && strcmp(parms.input,"-") != 0) {
fd = fopen(parms.input, "r");
if (fd == NULL) {
perror(parms.input);
More information about the grass-commit
mailing list