Branch: Tag:

2003-03-13

2003-03-13 15:13:20 by Mattias Andersson <matan@lysator.liu.se>

Bugfix regarding remove.

Rev: server/modules/tags/writefile.pike:1.14

12:   #define _ok id->misc->defines[" _ok"]      constant cvs_version = -  "$Id: writefile.pike,v 1.13 2003/01/08 10:24:31 mattias Exp $"; +  "$Id: writefile.pike,v 1.14 2003/03/13 15:13:20 mattias Exp $";   constant thread_safe = 1;      #include <module.h>
111:    real_filename = Stdio.append_path(real_dirname, basename(filename));       if(args->remove) { -  if(!rm(filename)) +  if(!rm(real_filename))    _ok = 0;    }    else