Bug fix: -pathspecs "on" did not properly handle "\\="
This commit is contained in:
@ -1108,9 +1108,8 @@ int Hex_to_bin(char *hex,
|
||||
|
||||
#ifndef Xorriso_fileliste_externaL
|
||||
|
||||
/* ??? ts A71006 : Is this compatible with mkisofs pathspecs ?
|
||||
I dimly remember so */
|
||||
|
||||
/* @param flag bit0= pathspec mode "on" rather than "as_mkisofs"
|
||||
*/
|
||||
int Fileliste__target_source_limit(char *line, char sep, char **limit_pt,
|
||||
int flag)
|
||||
{
|
||||
@ -1118,7 +1117,7 @@ int Fileliste__target_source_limit(char *line, char sep, char **limit_pt,
|
||||
|
||||
for(npt= line;*npt!=0;npt++) {
|
||||
if(*npt=='\\') {
|
||||
if(*(npt+1)!=0)
|
||||
if(*(npt + 1) == '=' || (*(npt + 1) == '\\' && !(flag & 1)))
|
||||
npt++;
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user