[GRASS-SVN] r65121 - grass/trunk/raster/r.thin
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 22 23:20:37 PDT 2015
Author: neteler
Date: 2015-04-22 23:20:37 -0700 (Wed, 22 Apr 2015)
New Revision: 65121
Modified:
grass/trunk/raster/r.thin/io.c
Log:
r.thin: msg standardization
Modified: grass/trunk/raster/r.thin/io.c
===================================================================
--- grass/trunk/raster/r.thin/io.c 2015-04-22 13:30:42 UTC (rev 65120)
+++ grass/trunk/raster/r.thin/io.c 2015-04-23 06:20:37 UTC (rev 65121)
@@ -125,14 +125,14 @@
for (i = 0; i < PAD; i++) {
if (write(work_file, buf, buf_len) != buf_len) {
unlink(work_file_name);
- G_fatal_error(_("Error writing temporary file"));
+ G_fatal_error(_("Error writing temporary file <%s>"), work_file_name);
}
}
for (row = 0; row < n_rows; row++) {
Rast_get_c_row(cell_file, buf + PAD, row);
if (write(work_file, buf, buf_len) != buf_len) {
unlink(work_file_name);
- G_fatal_error(_("Error writing temporary file"));
+ G_fatal_error(_("Error writing temporary file <%s>"), work_file_name);
}
}
@@ -141,7 +141,7 @@
for (i = 0; i < PAD; i++) {
if (write(work_file, buf, buf_len) != buf_len) {
unlink(work_file_name);
- G_fatal_error(_("Error writing temporary file"));
+ G_fatal_error(_("Error writing temporary file <%s>"), work_file_name);
}
}
n_rows += (PAD << 1);
More information about the grass-commit
mailing list