diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-10-13 11:59:39 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-10-13 11:59:39 +0000 |
commit | cbad731a5de845631bf527c99d8574b8486dea0e (patch) | |
tree | 9207a2ad433bcc126dd3cd9ec4f94543df44e494 | |
parent | bf6b1747ae4bad46dbbf5fa2189a18b45c1d6b38 (diff) | |
download | xine-lib-cbad731a5de845631bf527c99d8574b8486dea0e.tar.gz xine-lib-cbad731a5de845631bf527c99d8574b8486dea0e.tar.bz2 |
undelete diff patch, sorry.
CVS patchset: 5506
CVS date: 2003/10/13 11:59:39
-rw-r--r-- | src/input/libdvdnav/diff_against_cvs.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/input/libdvdnav/diff_against_cvs.patch b/src/input/libdvdnav/diff_against_cvs.patch new file mode 100644 index 000000000..607923d4d --- /dev/null +++ b/src/input/libdvdnav/diff_against_cvs.patch @@ -0,0 +1,57 @@ +--- src/input/libdvdnav/dvdnav.c ++++ src/input/libdvdnav/dvdnav.c +@@ -71,7 +71,7 @@ + struct timeval time; + + /* Create a new structure */ +- fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s from http://dvd.sf.net\n", VERSION); ++ fprintf(MSG_OUT, "libdvdnav: Using dvdnav version %s from http://xine.sf.net\n", VERSION); + + (*dest) = NULL; + this = (dvdnav_t*)malloc(sizeof(dvdnav_t)); +--- src/input/libdvdnav/dvd_reader.c ++++ src/input/libdvdnav/dvd_reader.c +@@ -44,6 +44,7 @@ + #include <mntent.h> + #endif + ++#include "compat.h" + #include "dvd_udf.h" + #include "dvd_input.h" + #include "dvd_reader.h" +@@ -393,7 +394,7 @@ + + if( cdir >= 0 ) { + chdir( path_copy ); +- new_path = getcwd( NULL, PATH_MAX ); ++ new_path = getcwd( NULL, XINE_PATH_MAX ); + fchdir( cdir ); + close( cdir ); + if( new_path ) { +@@ -573,7 +574,7 @@ + + static int findDVDFile( dvd_reader_t *dvd, const char *file, char *filename ) + { +- char video_path[ PATH_MAX + 1 ]; ++ char video_path[ XINE_PATH_MAX + 1 ]; + const char *nodirfile; + int ret; + +@@ -607,7 +608,7 @@ + */ + static dvd_file_t *DVDOpenFilePath( dvd_reader_t *dvd, char *filename ) + { +- char full_path[ PATH_MAX + 1 ]; ++ char full_path[ XINE_PATH_MAX + 1 ]; + dvd_file_t *dvd_file; + struct stat fileinfo; + dvd_input_t dev; +@@ -691,7 +692,7 @@ + static dvd_file_t *DVDOpenVOBPath( dvd_reader_t *dvd, int title, int menu ) + { + char filename[ MAX_UDF_FILE_NAME_LEN ]; +- char full_path[ PATH_MAX + 1 ]; ++ char full_path[ XINE_PATH_MAX + 1 ]; + struct stat fileinfo; + dvd_file_t *dvd_file; + int i; |