aboutsummaryrefslogtreecommitdiff
path: root/Utility/libmounts.h
Commit message (Collapse)AuthorAge
* Got removable media mount detection working on Android.Gravatar Joey Hess2013-05-04
| | | | | | | Bionic has an amusing stub for `getmntent` that prints out "FIX ME! implement getmntent()" But, `/proc/mounts` is there, so I just parse it.
* Makefile now builds using cabal, taking advantage of cabal's automatic ↵Gravatar Joey Hess2013-02-27
| | | | | | | | | detection of appropriate build flags. The only thing lost is ./ghci Speed: make fast used to take 20 seconds here, when rebuilding from touching Command/Unused.hs. With cabal, it's 29 seconds.
* can now build Android targeted binaryGravatar Joey Hess2013-02-10
| | | | | | | | | | | | | | | | Various things that don't work on Android are just ifdefed out. * the webapp (needs template haskell for arm) * --include and --exclude globbing (needs libpcre, which is not ported; probably I'll make it use the pure haskell glob library instead) * annex.diskreserve checking (missing sys/statvfs.h) * timestamp preservation support (yawn) * S3 * WebDAV * XMPP The resulting 17mb binary has been tested on Android, and it is able to, at least, print its usage message.
* now working on OSXGravatar Joey Hess2012-07-19
| | | | | | | While this seems to work fine when used in a simple program, when I load it in ghci, it segfaults about half the time. Don't know why, and seems ghci specific, but if I get reports of crashes, I'll need to look into that.
* fix build on OSXGravatar Joey Hess2012-07-19
|
* try to make Utility.Mounts portableGravatar Joey Hess2012-07-19
This is an unholy mashup, but it just might work. It works on Linux, that's all I've tested. :)