diff options
Diffstat (limited to 'archivers/libunrar/files/patch-extract.cpp')
-rw-r--r-- | archivers/libunrar/files/patch-extract.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/archivers/libunrar/files/patch-extract.cpp b/archivers/libunrar/files/patch-extract.cpp new file mode 100644 index 000000000000..5be2fcfa6ec0 --- /dev/null +++ b/archivers/libunrar/files/patch-extract.cpp @@ -0,0 +1,10 @@ +--- extract.cpp.orig Wed Jun 7 08:52:35 2006 ++++ extract.cpp Wed Jun 7 08:55:35 2006 +@@ -291,6 +291,7 @@ + char CurVolName[NM]; + strcpy(CurVolName,ArcName); + ++ if(strcmp(ArcName,"")==0) return(false); + VolNameToFirstName(ArcName,ArcName,(Arc.NewMhd.Flags & MHD_NEWNUMBERING)); + if (stricomp(ArcName,CurVolName)!=0 && FileExist(ArcName)) + { |