[DGD] A simple lib
Felix A. Croes
felix at dworkin.nl
Tue Jan 6 19:09:53 CET 2004
"Robert Forshaw" <iouswuoibev at hotmail.com> wrote:
>[...]
> I've uploaded the relevent code here:
> http://www.rbf.org.uk/basiclib.zip.
Bugs I noticed immediately:
driver::runtime_error() doesn't do anything with errors, so there
is no message for them.
driver::telnet_connect() recompiles /sys/user every time, that's probably
not what you want. Furthermore, after compiling it it clones it too, and
driver::clone() recompiles it once more -- and you cannot recompile an
object more than once in the same LPC thread. The error is thrown away
of course (see above). Oh, and if compilation fails, compile_object()
doesn't return, it throws an error.
I'd suggest adding proper errorreporting first of all.
Regards,
Dworkin
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list