Package: libieee1284-3 Version: 0.2.11-3 Severity: minor Tags: patch Hello,
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. Best regards Uwe #! /bin/sh /usr/share/dpatch/dpatch-run ## 02_release_on_close.dpatch by Uwe Kleine-König <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: release on close @DPATCH@ diff -urNad libieee1284~/src/interface.c libieee1284/src/interface.c --- libieee1284~/src/interface.c 2008-01-16 13:18:13.000000000 +0100 +++ libieee1284/src/interface.c 2008-01-16 13:38:07.000000000 +0100 @@ -62,6 +62,7 @@ debugprintf (needs_open_port, "ieee1284_close"); return E1284_INVALIDPORT; } + ieee1284_release(port); if (priv->fn->cleanup) priv->fn->cleanup (priv); priv->opened = 0; -- System Information: Debian Release: 4.0 APT prefers proposed-updates APT policy: (900, 'proposed-updates'), (900, 'stable'), (300, 'testing-proposed-updates'), (300, 'testing'), (200, 'unstable'), (2, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22-3-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libieee1284-3 depends on: ii libc6 2.7-5 GNU C Library: Shared libraries libieee1284-3 recommends no packages. -- no debconf information -- 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]