Branch: Tag:

2000-09-05

2000-09-05 15:06:47 by Per Hedbor <ph@opera.com>

Now works with pike 7.1 again (duplicated local variables). Also added a few more news

Rev: server/base_server/configuration.pike:1.363
Rev: server/base_server/module.pike:1.97
Rev: server/base_server/roxenlib.pike:1.197
Rev: server/base_server/roxenloader.pike:1.195
Rev: server/base_server/state.pike:1.17
Rev: server/base_server/wizard.pike:1.123
Rev: server/config_interface/standard/whatsnew.html:1.15
Rev: server/etc/modules/ExtScript.pmod:1.6
Rev: server/modules/filesystems/filesystem.pike:1.89
Rev: server/modules/misc/ismap.pike:1.17
Rev: server/modules/misc/userdb.pike:1.50
Rev: server/modules/proxies/wais.pike:1.21
Rev: server/modules/tags/countdown.pike:1.37
Rev: server/modules/tags/tablify.pike:1.54
Rev: server/modules/tags/vform.pike:1.7

7:   inherit "module";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.88 2000/08/28 09:54:35 jhs Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.89 2000/09/05 15:06:41 per Exp $";   constant thread_safe=1;      #include <module.h>
615:    "413 Out of disk quota");    }    -  object privs; +        if (((int)id->misc->uid) && ((int)id->misc->gid)) {    // NB: Root-access is prevented.
723:    "<h1>Permission to 'CHMOD' files denied</h1>");    }    -  object privs; +        if (((int)id->misc->uid) && ((int)id->misc->gid)) {    // NB: Root-access is prevented.
805:    return 0;    }    -  object privs; -  +     if (((int)id->misc->uid) && ((int)id->misc->gid)) {    // NB: Root-access is prevented.    privs=Privs("Moving file", (int)id->misc->uid, (int)id->misc->gid );
821:    return http_low_answer(403, "<h2>Permission denied.</h2>");    }    -  int code = mv(decode_path(movefrom), decode_path(f)); +  code = mv(decode_path(movefrom), decode_path(f));    privs = 0;       moves++;
908:    return 0;    }    -  object privs; +     if (((int)id->misc->uid) && ((int)id->misc->gid)) {    // NB: Root-access is prevented.    privs=Privs("Moving file", (int)id->misc->uid, (int)id->misc->gid );
923:    return http_low_answer(403, "<h2>Permission denied.</h2>");    }    -  int code = mv(decode_path(f), decode_path(moveto)); +  code = mv(decode_path(f), decode_path(moveto));    privs = 0;       TRACE_ENTER("MOVE: Accepted", 0);