Roland Mainz <roland.mainz at nrubsig.org> wrote:
> I agree... the |def*()|-interfaces look like that someone wrote some
> helper code which then got hacked by someone else, hacks got added on
> top of these hacks and then hacks were added to work around other hacks
> and after many years someone tacked-on additional features via new
> hacks... grumpf... ;-(
Those interfaces simply look like interfaces from the 1970s where they
probably have been created.....
As the funktion defopen() already needs to close old files, why not
use it for this purpose with arg == NULL. This was the way to avoid
unneeded code that fill up memory in the 1970s.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily