Fixed bugs about -mv /im/age . -cdx / -cpr di/sk im/age -- -cpr di/sk . --
This commit is contained in:
parent
3378d048f6
commit
484189d7d3
@ -2,7 +2,7 @@
|
|||||||
.\" First parameter, NAME, should be all caps
|
.\" First parameter, NAME, should be all caps
|
||||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||||
.\" other parameters are allowed: see man(7), man(1)
|
.\" other parameters are allowed: see man(7), man(1)
|
||||||
.TH XORRISO 1 "February 8, 2008"
|
.TH XORRISO 1 "February 10, 2008"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.\" Some roff macros, for reference:
|
.\" Some roff macros, for reference:
|
||||||
@ -456,7 +456,11 @@ If other file types collide then the setting of command
|
|||||||
decides.
|
decides.
|
||||||
.br
|
.br
|
||||||
Renaming of files has similar collision handling, but directories can only
|
Renaming of files has similar collision handling, but directories can only
|
||||||
be replaced, not merged.
|
be replaced, not merged. Directories can hardly collide on renaming because
|
||||||
|
of the shell-like behavior of -mv: if a file object hits an existing directory
|
||||||
|
then it gets inserted rather than trying to replace that directory.
|
||||||
|
Nevertheless, the overwriting rules apply if an operation of xorriso
|
||||||
|
ever attempts to do such a replacement.
|
||||||
.PP
|
.PP
|
||||||
The commands in this section alter the ISO image and not the local filesystem.
|
The commands in this section alter the ISO image and not the local filesystem.
|
||||||
.TP
|
.TP
|
||||||
|
@ -4391,6 +4391,8 @@ int Xorriso_expand_disk_pattern(struct XorrisO *xorriso,
|
|||||||
abs_adr= 4;
|
abs_adr= 4;
|
||||||
} else {
|
} else {
|
||||||
strcpy(dir_adr, xorriso->wdx);
|
strcpy(dir_adr, xorriso->wdx);
|
||||||
|
if(dir_adr[0]==0)
|
||||||
|
strcpy(dir_adr, "/");
|
||||||
ret= Sfile_type(dir_adr, 1|4);
|
ret= Sfile_type(dir_adr, 1|4);
|
||||||
if(ret!=2) {
|
if(ret!=2) {
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.02.09.100750"
|
#define Xorriso_timestamP "2008.02.10.122020"
|
||||||
|
@ -1052,8 +1052,10 @@ int Xorriso_normalize_img_path(struct XorrisO *xorriso, char *wd,
|
|||||||
break;
|
break;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(strcmp(apt,".")==0)
|
if(strcmp(apt,".")==0) {
|
||||||
|
is_dir= 1;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
if(strcmp(apt,"..")==0) {
|
if(strcmp(apt,"..")==0) {
|
||||||
if(!(flag&2)) {
|
if(!(flag&2)) {
|
||||||
node= (IsoNode *) dir;
|
node= (IsoNode *) dir;
|
||||||
@ -1072,6 +1074,7 @@ bonked_root:;
|
|||||||
if(cpt==NULL) /* ??? if not flag&2 then this is a bug */
|
if(cpt==NULL) /* ??? if not flag&2 then this is a bug */
|
||||||
goto bonked_root;
|
goto bonked_root;
|
||||||
*cpt= 0;
|
*cpt= 0;
|
||||||
|
is_dir= 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
ret= Sfile_add_to_path(eff_path, apt, 0);
|
ret= Sfile_add_to_path(eff_path, apt, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user