diff --git a/lib/modules/Stdio.pmod b/lib/modules/Stdio.pmod index 13982433c5fd63a356d458cc158b2dfa70c19cbb..3ff3496b183eec3436b5b1bd2b9fa2a78f3765b0 100644 --- a/lib/modules/Stdio.pmod +++ b/lib/modules/Stdio.pmod @@ -219,12 +219,12 @@ class File class Port { - inherit port; + inherit _port; object(File) accept() { if(object x=::accept()) { - object y=File(); + object(File) y=File(); y->_fd=x; return y; }