changeset 1973:b067ca382dd0 trunk

[svn] - reseek to 0 on a newvfs FD for each probe pass
author nenolod
date Tue, 14 Nov 2006 12:37:14 -0800
parents edc01e85648d
children 9f6c17f1cc93
files ChangeLog audacious/input.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 12 18:41:41 2006 -0800
+++ b/ChangeLog	Tue Nov 14 12:37:14 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-13 02:41:41 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2921]
+  - in particular X environment, double size caused a bad match X error.
+  
+  trunk/audacious/util.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-11-13 02:33:35 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2919]
   - add show window decorations option to appearance preferences. closes #167.
--- a/audacious/input.c	Sun Nov 12 18:41:41 2006 -0800
+++ b/audacious/input.c	Tue Nov 14 12:37:14 2006 -0800
@@ -424,6 +424,8 @@
             vfs_fclose(fd);
             return ip;
         }
+        else if (ret == 0)
+            vfs_fseek(fd, 0, SEEK_SET);
 	else if (ret <= -1)
 	    break;
     }