git-annex/Utility
Joey Hess 0eed604446 Add a sanity check for bad StatFS results.
git-annex FTBFS on s390, mips, powerpc, sparc. That StatFS code is failing
on all of them. At least on s390, the failure appears as:

Just (FileSystemStats {fsStatBlockSize = 4096, fsStatBlockCount = 0,
fsStatByteCount = 0, fsStatBytesFree = 0, fsStatBytesAvailable = 0,
fsStatBytesUsed = 0})

While I don't understand why this is happening, or how to fix it,
bandaid over it by checking for obviously bad values and returning Nothing.
That disables disk free space checking, but at least git-annex will work.

Upstream bug: http://code.google.com/p/xmobar/issues/detail?id=70
2012-01-14 17:17:20 -04:00
..
Base64.hs rename 2011-07-05 20:24:10 -04:00
Conditional.hs refactor 2011-12-03 09:10:23 -04:00
CopyFile.hs factor out common imports 2011-10-03 23:29:48 -04:00
DataUnits.hs hslint 2011-12-09 01:57:13 -04:00
Directory.hs hslint 2011-12-09 01:57:13 -04:00
Dot.hs finished hlint pass 2011-07-15 12:47:14 -04:00
FileMode.hs make unused check branches and tags too 2011-09-28 16:43:10 -04:00
Format.hs cleanup 2011-12-23 01:08:19 -04:00
Gpg.hs don't use GPG_AGENT_INFO to force batch mode in test suite 2012-01-09 18:19:29 -04:00
JSONStream.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Matcher.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Misc.hs move 2011-12-15 18:23:07 -04:00
Monad.hs typo 2012-01-03 18:40:47 -04:00
PartialPrelude.hs amusing name 2011-12-20 11:01:50 -04:00
Path.hs no implicit dotfiles in add 2012-01-03 00:11:00 -04:00
RsyncFile.hs Avoid excessive escaping for rsync special remotes that are not accessed over ssh. 2011-11-18 12:53:48 -04:00
SafeCommand.hs add safeSystem 2011-11-09 17:28:35 -04:00
StatFS.hsc Add a sanity check for bad StatFS results. 2012-01-14 17:17:20 -04:00
TempFile.hs Remove haskell98 to build with ghc 7.2.2, also built with ghc 7.0.4 2011-11-26 12:05:08 -04:00
Touch.hsc go go gadget hlint 2011-09-20 23:24:48 -04:00
Url.hs Added remote.name.annex-web-options configuration setting, which can be used to provide parameters to whichever of wget or curl git-annex uses (depends on which is available, but most of their important options suitable for use here are the same). 2012-01-02 14:20:20 -04:00