Branch: Tag:

1998-02-05

1998-02-05 00:59:28 by Johan Schön <js@opera.com>

Fixes for NT

Rev: server/base_server/config/describers.pike:1.53
Rev: server/base_server/config/low_describers.pike:1.20
Rev: server/base_server/configuration.pike:1.93
Rev: server/base_server/dummy_hosts.pike:1.4
Rev: server/base_server/mainconfig.pike:1.92
Rev: server/base_server/read_config.pike:1.19
Rev: server/base_server/roxen.pike:1.164
Rev: server/base_server/roxenloader.pike:1.56
Rev: server/config_actions/openports.pike:1.9
Rev: server/config_actions/problems.pike:1.11
Rev: server/config_actions/proc.pike:1.7
Rev: server/modules/graphics/graphic_text.pike:1.100
Rev: server/modules/tags/htmlparse.pike:1.75
Rev: server/protocols/http.pike:1.53
Rev: server/roxen-images/urtavla.ppm:1.6

1: - constant cvs_version="$Id: graphic_text.pike,v 1.99 1998/02/04 16:10:44 per Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.100 1998/02/05 00:59:25 js Exp $";   constant thread_safe=1;      #include <module.h>
614:    if(conf)    {    mkdirhier( query( "cache_dir" )+".foo" ); + #ifndef __NT__   #if efun(chmod)    chmod( query( "cache_dir" ), 0777 );   #endif -  + #endif    mc = conf;    base_key = "gtext:"+(conf?conf->name:roxen->current_configuration->name);    }
688:   void store_cache_file(string a, string b, array data)   {    object fd = open(FNAME(a,b), "wct"); + #ifndef __NT__   #if efun(chmod)    chmod( FNAME(a,b), 0666 );   #endif -  + #endif    if(!fd) return;    fd->write(encode_value(({a,b,data})));    destruct(fd);
985:    restore_cached_args();    if(on > number) number=on;    object o = open(ARGHASH, "wct"); + #ifndef __NT__   #if efun(chmod)    chmod( ARGHASH, 0666 );   #endif -  + #endif    string data=encode_value(cached_args);    catch {    object q;