Skip to content
Snippets Groups Projects
Commit 1c6b1210 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Work-around nolonger needed.

Rev: src/modules/Yp/module.pmod.in:1.8
parent 881044f3
Branches
Tags
No related merge requests found
/* /*
* $Id: module.pmod.in,v 1.7 1997/06/09 21:25:28 grubba Exp $ * $Id: module.pmod.in,v 1.8 1997/06/10 20:31:04 grubba Exp $
* *
* YP (NIS) Functionality for Pike * YP (NIS) Functionality for Pike
* *
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
inherit @module@; inherit @module@;
constant __Domain = Domain; // Work-around for scope bug.
// Usual nicknames // Usual nicknames
constant nicknames = ([ constant nicknames = ([
"passwd":"passwd.byname", "passwd":"passwd.byname",
...@@ -23,15 +21,15 @@ constant nicknames = ([ ...@@ -23,15 +21,15 @@ constant nicknames = ([
]); ]);
class Map { class Map {
object(__Domain) domain; object(Domain) domain;
string ypmap; string ypmap;
void create(string map,string|void d) void create(string map,string|void d)
{ {
if (d) { if (d) {
domain = __Domain(d); domain = Domain(d);
} else { } else {
domain = __Domain(); domain = Domain();
} }
ypmap = map; ypmap = map;
array err; array err;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment