Branch: Tag:

1998-07-15

1998-07-15 04:41:47 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix in cp()

Rev: lib/modules/Stdio.pmod:1.28

512:   {    string data;    object tmp=File(); -  if(tmp->open(from,"r")) return 0; +  if(!tmp->open(from,"r")) return 0;    function r=tmp->read;    tmp=File(); -  if(tmp->open(to,"wct")) return 0; +  if(!tmp->open(to,"wct")) return 0;    function w=tmp->write;    do    {