Hi Julien, Julien BLACHE wrote: > Uwe Kleine-König <[EMAIL PROTECTED]> wrote: > > what do you think about that patch? > > > > This is the first step to achive that a port is closed when a Python > > ParportObject is deleted. > > Looks like a good idea. Is it safe if the port has already been > released ? Yes, it's save. ieee1284_release looks as follows:
if (priv->claimed && priv->fn->release) priv->fn->release (priv); priv->claimed = 0; so there is no need to check for priv->claimed in ieee1284_close. Best regards Uwe -- Uwe Kleine-König, Software Engineer Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]