From d24c53100d960b9e3cf824a1d818749784a5b0ce Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 29 Apr 2009 01:43:28 -0300 Subject: mtools: update to 4.0.10 since 3.9.11 was not available anymore During the updating we've also grabed two patches from Debian that improves the stability of mtools in recent kernels. Those are: - plainio.patch - use-sg_io.patch Signed-off-by: Otavio Salvador --- recipes/mtools/files/plainio.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes/mtools/files/plainio.patch (limited to 'recipes/mtools/files/plainio.patch') diff --git a/recipes/mtools/files/plainio.patch b/recipes/mtools/files/plainio.patch new file mode 100644 index 0000000000..b4bd1d6615 --- /dev/null +++ b/recipes/mtools/files/plainio.patch @@ -0,0 +1,13 @@ +01_plainio.dpatch by Martin Pitt +Fixes garbage output of mtype under certain circumstances; closes #217413 + +--- mtools-3.9.9/plain_io.c 2003-02-16 17:18:58.000000000 +0100 ++++ mtools-3.9.9/plain_io.c 2004-01-14 00:56:11.000000000 +0100 +@@ -524,6 +524,7 @@ + printOom(); + return 0; + } ++ memset((void*)This, 0, sizeof(SimpleFile_t)); + This->scsi_sector_size = 512; + This->seekable = 1; + #ifdef OS_hpux -- cgit v1.2.3