From: Ewald S. <es...@us...> - 2002-06-19 22:22:34
|
Update of /cvsroot/xine/xine-lib/src/input In directory usw-pr-cvs1:/tmp/cvs-serv12560/xine-lib/src/input Modified Files: input_cda.c Log Message: Fix 'XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0"' (caused by closing file descriptor 0, which was uninitialized cda->fd) Index: input_cda.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_cda.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- input_cda.c 17 Jun 2002 21:17:32 -0000 1.26 +++ input_cda.c 19 Jun 2002 22:22:30 -0000 1.27 @@ -1836,6 +1836,7 @@ this->cda->xine = xine; this->cda->cur_track = -1; this->cda->cur_pos = -1; + this->cda->fd = -1; this->cda->device_name = config->register_string(config, "input.cda_device", CDROM, _("path to your local cd audio device file"), |