Path to this page:
Next | Query returned 2 messages, browsing 1 to 10 | previous
CVS Commit History:
2012-08-10 18:32:09 by Matthias Scheler | Files touched by this commit (2) |
Log message:
Pullup ticket #3892 - requested by is
sysutils/mtools: bug fix patch
Revisions pulled up:
- sysutils/mtools/Makefile 1.51
- sysutils/mtools/patches/patch-llong.h 1.1
---
Module Name: pkgsrc
Committed By: is
Date: Fri Aug 10 14:59:58 UTC 2012
Modified Files:
pkgsrc/sysutils/mtools: Makefile
Added Files:
pkgsrc/sysutils/mtools/patches: patch-llong.h
Log message:
Forgot patch file...
|
2012-08-09 20:07:35 by Matthias Scheler | Files touched by this commit (2) |
Log message:
Pullup ticket #3891 - requested by is
sysutils/mtools: bug fix patch
Revisions pulled up:
- sysutils/mtools/Makefile 1.50
- sysutils/mtools/distinfo 1.18
---
Module Name: pkgsrc
Committed By: is
Date: Wed Aug 8 08:46:27 UTC 2012
Modified Files:
pkgsrc/sysutils/mtools: Makefile distinfo
Log message:
mtools-(at least)4.0.17 tries hard to configure and conditionally set types
to use 64bit file offsets where available for seek()ing etc. However, the
easy case (sizeof(off_t)>4) is handled incorrectly: mt_size_t is set to
size_t - maybe a copy and paste from the fall-back-to-32bit case.
This type is used at least in init.c, when detecting media size and comparing
to the FAT geometry, consequently failing and erroring out with the message
"Big disks not supported on this architecture."
The patch does handle the (e.g. NetBSD) case of 64bit off_t the same as
the case where a off64_t is available (and the other 64bit off_t-equivalent
cases); namely using off_t as mt_size_t.
Thanks to riastradh@ for pointing out where the bug in llong.h was.
|
Next | Query returned 2 messages, browsing 1 to 10 | previous