1 --- common.h 2005-10-11 10:55:45.000000000 +0200
2 +++ common.h 2005-10-11 14:07:42.000000000 +0200
4 # define PATH_MAX MAX_PATH
7 -#define lseek _lseeki64
9 /* several type definitions */
10 # if defined( __MINGW32__ )
11 +#define lseek _lseeki64
12 # if !defined( _OFF_T_ )
13 typedef long long _off_t;
15 --- css.c 2005-07-11 14:24:09.000000000 +0200
16 +++ css.c 2005-10-01 20:14:37.000000000 +0200
21 -#include "dvdcss/dvdcss.h"
26 --- device.c 2005-07-11 13:33:34.000000000 +0200
27 +++ device.c 2005-10-01 19:08:07.000000000 +0200
29 # include <sys/uio.h> /* struct iovec */
32 -#include "dvdcss/dvdcss.h"
38 print_debug( dvdcss, "opening target `%s'", psz_device );
41 - /* If device is not "X:", we are actually opening a file. */
42 - dvdcss->b_file = !psz_device[0] || psz_device[1] != ':' || psz_device[2];
44 + /* If device is "X:" or "X:\", we are not actually opening a file. */
45 + if (psz_device[0] && psz_device[1] == ':' &&
46 + (!psz_device[2] || (psz_device[2] == '\\' && !psz_device[3])))
49 /* Initialize readv temporary buffer */
50 dvdcss->p_readv_buffer = NULL;
51 --- error.c 2004-02-24 16:46:49.000000000 +0100
52 +++ error.c 2005-10-01 20:15:46.000000000 +0200
57 -#include "dvdcss/dvdcss.h"
62 --- libdvdcss.c 2004-08-13 15:40:18.000000000 +0200
63 +++ libdvdcss.c 2005-10-01 19:11:27.000000000 +0200
68 -#include "dvdcss/dvdcss.h"