sizes 2.0.6 → 2.0.7
raw patch · 3 files changed
+19/−3 lines, 3 files
Files
- HsStat.h +16/−0
- Main.hs +1/−1
- sizes.cabal +2/−2
+ HsStat.h view
@@ -0,0 +1,16 @@+#include <sys/stat.h>+#include <sys/statvfs.h>++#include "HsFFI.h"++#if defined(__MINGW32__)+typedef struct _stati64 struct_statvfs; /* jww (2012-10-18): ??? */+#else+typedef struct statvfs struct_statvfs;+#endif++#if defined(__MINGW32__)+extern int __hscore_statvfs(wchar_t *path, struct_statvfs *buf);+#else+extern int __hscore_statvfs(char *path, struct_statvfs *buf);+#endif
Main.hs view
@@ -33,7 +33,7 @@ default (Integer, Text) version :: String-version = "2.0.6"+version = "2.0.7" copyright :: String copyright = "2012"
sizes.cabal view
@@ -1,6 +1,6 @@ Name: sizes -Version: 2.0.6+Version: 2.0.7 Synopsis: Recursively show space (size and i-nodes) used in subdirectories Description: Recursively show space (size and i-nodes) used in subdirectories@@ -14,7 +14,7 @@ Build-type: Simple Cabal-version: >= 1.8 -Extra-Source-Files: README.md Stat.hs Stat.hsc+Extra-Source-Files: README.md Stat.hs Stat.hsc HsStat.h HsStat.c Executable sizes Main-is: Main.hs