Branch: Tag:

2002-09-21

2002-09-21 15:08:31 by Martin Stjernholm <mast@lysator.liu.se>

Replaced use of local:: to access hidden class variables with this_program::.

Rev: lib/modules/ADT.pmod/Table.pmod:1.24
Rev: lib/modules/Filesystem.pmod/Tar.pmod:1.16
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.43
Rev: lib/modules/Protocols.pmod/Line.pmod:1.18
Rev: lib/modules/Standards.pmod/URI.pike:1.13
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/CExtractor.pmod:1.15
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/module.pmod:1.7
Rev: src/modules/Yp/module.pmod.in:1.17

3:   // YP (NIS) Functionality for Pike   // Per Hedbor & Henrik Grubbström 1996-1997   // - // $Id: module.pmod.in,v 1.16 2002/05/08 19:28:56 nilsson Exp $ + // $Id: module.pmod.in,v 1.17 2002/09/21 15:08:31 mast Exp $      #pike __REAL_VERSION__   inherit @module@;
43:    void create(string map, string|void domain)    {    if (domain) { -  local::domain = Domain(domain); +  this_program::domain = Domain(domain);    } else { -  local::domain = Domain(); +  this_program::domain = Domain();    }    ypmap = map;    array err;    do {    // Force an error if the map does not exist.    err = catch{ -  local::domain->match(ypmap, "foo"); +  this_program::domain->match(ypmap, "foo");    return;    };    } while (ypmap = nicknames[ypmap]);