Hello Sir,<br> thanks for the reply.<br> Sir , if am getting such an error ,&nbsp; is there something i can do get rid of such error?<br> Is it in our hands to overcome such errors which occur over meantime.<br> Is there a way so tht the file will be written correctly and also to avoid the file gettting truncated or corrupted.what are the reasons for such file corruption to occur.<br> Kindly help me<br> <br> Regards<br> Rochelle<br> <br> <br> <br> <br> <br> <br><br><b><i>Glynn Clements &lt;glynn@gclements.plus.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>Rochelle MIranda wrote:<br><br>&gt;  I was looking into the source code when i came across the following module.<br>&gt;  d.rast.edit  <br>&gt;  In file mk_new_layer.c  <br>&gt; What does the following if  expression mean:<br>&gt; <br>&gt; <br>&gt;         if ( read (tmpfd, rast, real_ncols * cellsize) != (real_ncols * cellsize))<b!
 r>&gt;   
          error(1,"error writing cell file during copy");<br>&gt; <br>&gt; <br>&gt;  And when can such error occur what are its causes?.<br><br>The error will occur if the file wasn't written correctly, or has been<br>truncated or corrupted in the meantime.<br><br>-- <br>Glynn Clements <glynn @gclements.plus.com=""><br><br></glynn></blockquote><br><p>
                <hr size=1>Relax. Yahoo! Mail 
<a href="http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221">virus scanning</a> helps detect nasty viruses!