1 Description: Release port on close
2 Helps with the Python module when an object gets deleted.
3 Author: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
4 Bug-Debian: http://bugs.debian.org/461068
6 Index: libieee1284-0.2.11/src/interface.c
7 ===================================================================
8 --- libieee1284-0.2.11.orig/src/interface.c 2003-05-30 16:26:12.000000000 +0200
9 +++ libieee1284-0.2.11/src/interface.c 2010-05-06 11:24:12.000000000 +0200
11 debugprintf (needs_open_port, "ieee1284_close");
12 return E1284_INVALIDPORT;
14 + ieee1284_release(port);
15 if (priv->fn->cleanup)
16 priv->fn->cleanup (priv);