"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mmd.c" between
mtools-4.0.35.tar.bz2 and mtools-4.0.36.tar.bz2

About: Mtools is a collection of utilities to access MS-DOS disks from Unix without mounting them.

mmd.c  (mtools-4.0.35.tar.bz2):mmd.c  (mtools-4.0.36.tar.bz2)
skipping to change at line 90 skipping to change at line 90
initializeDirentry(&subEntry, Target); initializeDirentry(&subEntry, Target);
subEntry.entry = 1; subEntry.entry = 1;
GET_DATA(targetEntry->Dir, 0, 0, 0, &fat); GET_DATA(targetEntry->Dir, 0, 0, 0, &fat);
if (fat == fat32RootCluster(targetEntry->Dir)) { if (fat == fat32RootCluster(targetEntry->Dir)) {
fat = 0; fat = 0;
} }
mk_entry_from_base(".. ", ATTR_DIR, fat, 0, arg->mtime, &subEntry.di r); mk_entry_from_base(".. ", ATTR_DIR, fat, 0, arg->mtime, &subEntry.di r);
dir_write(&subEntry); dir_write(&subEntry);
FLUSH((Stream_t *) Target); FLUSH(Target);
subEntry.entry = 0; subEntry.entry = 0;
GET_DATA(Target, 0, 0, 0, &fat); GET_DATA(Target, 0, 0, 0, &fat);
mk_entry_from_base(". ", ATTR_DIR, fat, 0, arg->mtime, &subEntry.di r); mk_entry_from_base(". ", ATTR_DIR, fat, 0, arg->mtime, &subEntry.di r);
dir_write(&subEntry); dir_write(&subEntry);
mk_entry(dosname, ATTR_DIR | arg->attr, fat, 0, arg->mtime, mk_entry(dosname, ATTR_DIR | arg->attr, fat, 0, arg->mtime,
&targetEntry->dir); &targetEntry->dir);
arg->NewDir = Target; arg->NewDir = Target;
return 0; return 0;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)