changeset 484:e2b9f92657d1 trunk

[svn] - do not close FDs that do not belong to us.
author nenolod
date Sun, 21 Jan 2007 04:01:04 -0800
parents 1b48e9ce21e1
children c257bcf92d90
files ChangeLog src/vorbis/vorbis.c
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 21 03:56:43 2007 -0800
+++ b/ChangeLog	Sun Jan 21 04:01:04 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-21 11:56:43 +0000  Michael Hanselmann <hansmi@forkbomb.ch>
+  revision [1052]
+  Set file->base
+  
+  trunk/src/curl/curl.c |    3 +++
+  1 file changed, 3 insertions(+)
+
+
 2007-01-21 11:53:28 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1050]
   - fix a logic error
--- a/src/vorbis/vorbis.c	Sun Jan 21 03:56:43 2007 -0800
+++ b/src/vorbis/vorbis.c	Sun Jan 21 04:01:04 2007 -0800
@@ -262,7 +262,6 @@
         g_message("** vorbis.c: Media read error: %s", filename);
 #endif
         g_mutex_unlock(vf_mutex);
-        vfs_fclose(stream);
         return FALSE;
         break;
     case OV_ENOTVORBIS:
@@ -270,7 +269,6 @@
         g_message("** vorbis.c: Not Vorbis data: %s", filename);
 #endif
         g_mutex_unlock(vf_mutex);
-        vfs_fclose(stream);
         return FALSE;
         break;
     case OV_EVERSION:
@@ -278,7 +276,6 @@
         g_message("** vorbis.c: Version mismatch: %s", filename);
 #endif
         g_mutex_unlock(vf_mutex);
-        vfs_fclose(stream);
         return FALSE;
         break;
     case OV_EBADHEADER:
@@ -287,7 +284,6 @@
                   filename);
 #endif
         g_mutex_unlock(vf_mutex);
-        vfs_fclose(stream);
         return FALSE;
         break;
     case OV_EFAULT:
@@ -296,7 +292,6 @@
                   filename);
 #endif
         g_mutex_unlock(vf_mutex);
-        vfs_fclose(stream);
         return FALSE;
         break;
     case 0: