K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-08-23T23:53:59.000000Z K 7 svn:log V 415 Upon server-initiated closure of the sound device, rdesktop(1) hangs in a tight loop if the sound packet buffer is not empty. This usually occurs after a long playback, and is indicated by an endless stream of "ERROR: select: Bad file descriptor" messages on stderr. Fix: forcibly empty the sound packet buffer after closing the sound device. PR: 115692 Submitted by: "Eugene M. Kim" END