Bug#532003: libchipcard-tools: never sleeps

2009-06-06 Thread Bas Wijnen
On Sat, Jun 06, 2009 at 01:15:22PM +0200, Martin Preuss wrote: > > > It can't have an infinite loop: It runs in a single thread and needs > > > to do some cleanup from time to time (e.g. releasing readers and cards > > > after some timeout etc). > > The cleanup concerns internal structures after u

Bug#532003: libchipcard-tools: never sleeps

2009-06-06 Thread Martin Preuss
Hi, On Samstag, 6. Juni 2009, Bas Wijnen wrote: > On Sat, Jun 06, 2009 at 09:58:24AM +0200, Martin Preuss wrote: [...] > > It can't have an infinite loop: It runs in a single thread and needs > > to do some cleanup from time to time (e.g. releasing readers and cards > > after some timeout etc). >

Bug#532003: libchipcard-tools: never sleeps

2009-06-06 Thread Bas Wijnen
Hi, On Sat, Jun 06, 2009 at 09:58:24AM +0200, Martin Preuss wrote: > It can't have an infinite loop: It runs in a single thread and needs > to do some cleanup from time to time (e.g. releasing readers and cards > after some timeout etc). Actually, it can, if I understand your problem correctly.

Bug#532003: libchipcard-tools: never sleeps

2009-06-06 Thread Martin Preuss
Hi, On Samstag, 6. Juni 2009, Bas Wijnen wrote: > On Fri, Jun 05, 2009 at 07:17:15PM +0200, Martin Preuss wrote: [...] > > As a matter of fact the daemon *does* have a main loop which uses > > select() and which *can* be interrupted after a few seconds to scan > > for new devices or the disconnect

Bug#532003: libchipcard-tools: never sleeps

2009-06-06 Thread Bas Wijnen
Hi, On Fri, Jun 05, 2009 at 07:17:15PM +0200, Martin Preuss wrote: > First you state that you didn't even look at the source, Yes, when reporting bugs to Debian, I should not be required to check the source. For upstream this may be required (although I don't think this would be a good idea), bu

Bug#532003: libchipcard-tools: never sleeps

2009-06-05 Thread Micha Lenk
severity 532003 minor fixed 532003 4.2.2-1 close 532003 unarchive 470629 merge 470629 532003 thank you Hi Bas, thank you for your valuable feedback. On Fri, Jun 05, 2009 at 18:36:47 +0200, Bas Wijnen wrote: > I have gnucash installed, and thus also libchipcard-tools (although I > don't need it).

Bug#532003: libchipcard-tools: never sleeps

2009-06-05 Thread Martin Preuss
Hi, On Freitag, 5. Juni 2009, Bas Wijnen wrote: [...] > I didn't check the source, but I would expect a deamon to have a main > loop with a select or poll call without a timeout, which simply waits > forever until it is awoken by an event (in this case, connecting a > chipcard reader or things hap

Bug#532003: libchipcard-tools: never sleeps

2009-06-05 Thread Bas Wijnen
Package: libchipcard-tools Version: 4.1.3-2 I have gnucash installed, and thus also libchipcard-tools (although I don't need it). This problem is addressed in an other bug. Now I don't really mind extra software on my system, as long as it doesn't hurt performance. This means that they should b