diff --git a/mtools-3.9.9-badc.patch b/mtools-3.9.9-badc.patch new file mode 100644 index 0000000..ca562bc --- /dev/null +++ b/mtools-3.9.9-badc.patch @@ -0,0 +1,11 @@ +--- mtools-3.9.9/mainloop.c.badc 2004-01-08 10:00:40.329589474 +0000 ++++ mtools-3.9.9/mainloop.c 2004-01-08 10:01:18.862998275 +0000 +@@ -328,7 +328,7 @@ + return ERROR_ONE; + if(got_signal) + return ret | ERROR_ONE; +- if(doing_mcwd & !have_one) ++ if(doing_mcwd && !have_one) + return NO_CWD; + return ret; + } diff --git a/mtools.spec b/mtools.spec index f347001..0345b2f 100644 --- a/mtools.spec +++ b/mtools.spec @@ -1,7 +1,7 @@ Summary: Programs for accessing MS-DOS disks without mounting the disks. Name: mtools Version: 3.9.9 -Release: 6 +Release: 7 License: GPL Group: Applications/System Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2 @@ -11,6 +11,7 @@ Patch0: mtools-3.9.6-config.patch Patch1: mtools-3.9.6-paths.patch Patch3: mtools-3.9.7-bigdisk.patch Patch4: mtools-3.9.9-noargs.patch +Patch5: mtools-3.9.9-badc.patch Prereq: /sbin/install-info BuildRequires: texinfo @@ -28,7 +29,8 @@ Mtools should be installed if you need to use MS-DOS disks. %patch0 -p1 %patch1 -p1 %patch3 -p1 -b .big -%patch4 -p1 -b .nooargs +%patch4 -p1 -b .noargs +%patch5 -p1 -b .badc %build %configure @@ -64,6 +66,9 @@ fi %{_infodir}/* %changelog +* Thu Jan 8 2004 Tim Waugh 3.9.9-7 +- Fix mistaken use of '&' instead of '&&'. + * Tue Dec 9 2003 Tim Waugh 3.9.9-6 - Remove last (incorrect) change.