浏览代码

fwd port of https://trac.osgeo.org/grass/changeset/45756

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45773 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 14 年之前
父节点
当前提交
fb72e289bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/dspf/cube_io.c

+ 1 - 1
lib/dspf/cube_io.c

@@ -250,7 +250,7 @@ int read_cube(Cube_data * Cube, file_info * headfax)
 #ifdef NEWCODE
 int my_fread(char *buf, int size, int cnt, FILE * fp)
 {
-    static char in_buf[10000];
+    static char in_buf[10240];
     static char *start, *end;
     char *outp;
     int ret;