shithub: libdvdcss

Download patch

ref: 2f4e0edf3179a52f6f287188202c3cf68a9b61a4
parent: e33338ed892251f4b5f6fdc09662fe0a522f193a
author: Sam Hocevar <[email protected]>
date: Fri Aug 13 09:40:44 EDT 2004

* src/libdvdcss.c: 
    + Recreate the cache dir information on each launch, in case the
      information it contains ever changes.


--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -384,7 +384,7 @@
         int i_fd;
 
         sprintf( psz_tagfile, "%s/CACHEDIR.TAG", psz_cache );
-        i_fd = open( psz_tagfile, O_RDWR|O_CREAT|O_EXCL, 0644 );
+        i_fd = open( psz_tagfile, O_RDWR|O_CREAT, 0644 );
         if( i_fd >= 0 )
         {
             write( i_fd, psz_tag, strlen(psz_tag) );