瀏覽代碼

libdisplay: add debug message when reading env variables from file

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63742 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
88fa2e7f5a
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      lib/display/r_raster.c

+ 3 - 1
lib/display/r_raster.c

@@ -3,7 +3,7 @@
 
   \brief Display Library - Raster graphics subroutines
 
-  (C) 2001-2009, 2011 by the GRASS Development Team
+  (C) 2001-2014 by the GRASS Development Team
 
   This program is free software under the GNU General Public License
   (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -76,6 +76,8 @@ int read_env_file(const char *path)
     FILE *fd;
     char buf[1024];
     char **token;
+
+    G_debug(1, "read_env_file(): %s", path);
     
     fd = fopen(path, "r");
     if (!fd)