Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mtools for openSUSE:Factory checked in at 2021-06-24 18:22:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mtools (Old) and /work/SRC/openSUSE:Factory/.mtools.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mtools" Thu Jun 24 18:22:10 2021 rev:54 rq:901062 version:4.0.31 Changes: -------- --- /work/SRC/openSUSE:Factory/mtools/mtools.changes 2021-04-22 18:04:07.754521869 +0200 +++ /work/SRC/openSUSE:Factory/.mtools.new.2625/mtools.changes 2021-06-24 18:22:20.444900679 +0200 @@ -1,0 +2,23 @@ +Sun Jun 20 16:20:58 UTC 2021 - Andreas Stieger <andreas.stie...@gmx.de> + +- mtools 4.0.31: + * Fix polarity of format_xdf command-line parameter of mformat + * Improved error handling and error messages + * Remove duplicate writing of backup boot sector + * developer visible changes +- includes changes from 4.0.30: + * Fixed XDF floppy disk access + * Fixed faulty behavior at end of image in mcat + * Raise an error when trying to mcopy multiple source files + over a single destination file (rather than directory) + * fix handling of "hidden" sectors + * Modernize partition support + * developer visible changes +- includes changes from 4.0.29 and 4.0.28: + * Support remapping of data + * Re-open floppy devices read-write if geometry parameters need + to be changed + * relax consistency checks in mpartition (partitions created + by current fdisk would almost never pass these checks) + +------------------------------------------------------------------- Old: ---- mtools-4.0.27.tar.bz2 mtools-4.0.27.tar.bz2.sig New: ---- mtools-4.0.31.tar.bz2 mtools-4.0.31.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mtools.spec ++++++ --- /var/tmp/diff_new_pack.AE3dVX/_old 2021-06-24 18:22:21.108901415 +0200 +++ /var/tmp/diff_new_pack.AE3dVX/_new 2021-06-24 18:22:21.112901420 +0200 @@ -17,7 +17,7 @@ Name: mtools -Version: 4.0.27 +Version: 4.0.31 Release: 0 Summary: Tools to access MS-DOS filesystems without kernel drivers License: GPL-3.0-or-later ++++++ mtools-4.0.27.tar.bz2 -> mtools-4.0.31.tar.bz2 ++++++ ++++ 11217 lines of diff (skipped) ++++++ mtools-fat-bits.diff ++++++ --- /var/tmp/diff_new_pack.AE3dVX/_old 2021-06-24 18:22:21.468901815 +0200 +++ /var/tmp/diff_new_pack.AE3dVX/_new 2021-06-24 18:22:21.468901815 +0200 @@ -2,15 +2,15 @@ =================================================================== --- fat.c.orig +++ fat.c -@@ -705,6 +705,7 @@ static int fat_32_read(Fs_t *This, union +@@ -729,6 +729,7 @@ static int fat_32_read(Fs_t *This, union static int old_fat_read(Fs_t *This, union bootsector *boot, + int config_fat_bits, - size_t tot_sectors, int nodups) + uint32_t tot_sectors, int nodups) { This->writeAllFats = 1; -@@ -719,7 +720,7 @@ static int old_fat_read(Fs_t *This, unio +@@ -743,7 +744,7 @@ static int old_fat_read(Fs_t *This, unio if(check_media_type(This,boot, tot_sectors)) return -1; @@ -19,15 +19,15 @@ set_fat16(This); /* third FAT byte must be 0xff */ if(!mtools_skip_check && readByte(This, 3) != 0xff) -@@ -735,6 +736,7 @@ static int old_fat_read(Fs_t *This, unio +@@ -759,6 +760,7 @@ static int old_fat_read(Fs_t *This, unio * structures. */ int fat_read(Fs_t *This, union bootsector *boot, + int fat_bits, - size_t tot_sectors, int nodups) + uint32_t tot_sectors, int nodups) { This->fat_error = 0; -@@ -745,7 +747,7 @@ int fat_read(Fs_t *This, union bootsecto +@@ -769,7 +771,7 @@ int fat_read(Fs_t *This, union bootsecto This->lastFatSectorData = 0; if(This->fat_len) @@ -40,24 +40,24 @@ =================================================================== --- init.c.orig +++ init.c -@@ -387,7 +387,7 @@ Stream_t *fs_init(char drive, int mode, +@@ -530,7 +530,7 @@ Stream_t *fs_init(char drive, int mode, } /* read the FAT sectors */ - if(fat_read(This, &boot, tot_sectors, dev.use_2m&0x7f)){ + if(fat_read(This, &boot, dev.fat_bits, tot_sectors, dev.use_2m&0x7f)){ + fprintf(stderr, "Error reading FAT\n"); This->num_fat = 1; FREE(&This->Next); - Free(This->Next); Index: fsP.h =================================================================== --- fsP.h.orig +++ fsP.h -@@ -92,6 +92,7 @@ void fatAllocate(Fs_t *This, unsigned in +@@ -94,6 +94,7 @@ void fatAllocate(Fs_t *This, unsigned in void fatEncode(Fs_t *This, unsigned int pos, unsigned int value); int fat_read(Fs_t *This, union bootsector *boot, -+ int fat_bits, - size_t tot_sectors, int nodups); ++ int fat_bits, + uint32_t tot_sectors, int nodups); void fat_write(Fs_t *This); - int zero_fat(Fs_t *Fs, int media_descriptor); + int zero_fat(Fs_t *Fs, uint8_t media_descriptor); ++++++ mtools-prototypes.diff ++++++ --- /var/tmp/diff_new_pack.AE3dVX/_old 2021-06-24 18:22:21.480901828 +0200 +++ /var/tmp/diff_new_pack.AE3dVX/_new 2021-06-24 18:22:21.480901828 +0200 @@ -1,7 +1,7 @@ -Index: mtools-4.0.23/mformat.c +Index: mtools-4.0.31/mformat.c =================================================================== ---- mtools-4.0.23.orig/mformat.c 2018-12-10 00:18:40.000000000 +0100 -+++ mtools-4.0.23/mformat.c 2018-12-28 18:46:05.933555058 +0100 +--- mtools-4.0.31.orig/mformat.c ++++ mtools-4.0.31/mformat.c @@ -19,6 +19,7 @@ */ @@ -10,19 +10,19 @@ #include "sysincludes.h" #include "msdos.h" -@@ -48,7 +49,7 @@ +@@ -44,7 +45,7 @@ - #define _LINUX_STRING_H_ - #define kdev_t int + #ifdef OS_linux + #include "linux/hdreg.h" -#include "linux/fs.h" +#include "sys/mount.h" - #undef _LINUX_STRING_H_ #endif -Index: mtools-4.0.23/mpartition.c + +Index: mtools-4.0.31/mpartition.c =================================================================== ---- mtools-4.0.23.orig/mpartition.c 2018-12-09 23:56:07.000000000 +0100 -+++ mtools-4.0.23/mpartition.c 2018-12-28 18:46:05.933555058 +0100 +--- mtools-4.0.31.orig/mpartition.c ++++ mtools-4.0.31/mpartition.c @@ -17,6 +17,7 @@ * mformat.c */ @@ -31,20 +31,20 @@ #include "sysincludes.h" #include "msdos.h" -@@ -35,7 +36,7 @@ +@@ -33,7 +34,7 @@ - #define _LINUX_STRING_H_ - #define kdev_t int + #ifdef OS_linux + #include "linux/hdreg.h" -#include "linux/fs.h" +#include "sys/mount.h" - #undef _LINUX_STRING_H_ - #endif -Index: mtools-4.0.23/sysincludes.h + + static void set_offset(hsc *h, unsigned long offset, +Index: mtools-4.0.31/sysincludes.h =================================================================== ---- mtools-4.0.23.orig/sysincludes.h 2018-12-28 18:46:05.933555058 +0100 -+++ mtools-4.0.23/sysincludes.h 2018-12-28 18:48:58.902333733 +0100 -@@ -359,12 +359,16 @@ extern int errno; +--- mtools-4.0.31.orig/sysincludes.h ++++ mtools-4.0.31/sysincludes.h +@@ -382,12 +382,16 @@ extern int errno; #endif #ifdef HAVE_NETINET_TCP_H