| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
devolve some library-specific configuration
|
|
|
|
|
| |
Changes required be merge of backend-hacking-branch. Mostly config.h
==> ghcconfig.h.
|
|
|
|
|
| |
Hugs only: use the configure-set variable INLINE_ONLY instead of
`extern inline' (which works for gcc but not C99 compilers).
|
|
|
|
| |
include dirent.h to avoid warnings when compiling System.Posix.Directory
|
|
|
|
|
|
|
|
| |
Move System.Sendfile to Network.Sendfile:
- Linux can sendfile() to a fd, but BSD couldn't
- sendfile() on Linux is probably now disabled on most builds because of
the LARGEFILE issue
=> Change API to use type Socket
|
|
|
|
| |
Can't use sendfile() with LARGEFILES on Linux
|
|
|
|
| |
extra #include's
|
|
|
|
| |
move environ from C to Haskell
|
|
|
|
| |
add some standard #includes
|
|
|
|
| |
Import System/DL*
|
|
|
|
| |
Add System.Posix.Env
|
|
|
|
|
|
| |
- Add sendfile-API for pumping out data via sendfile(2)
Currently supported are Linux (tested) & FreeBSD (not tested yet), others
will throw a runtime error until I get around to implement a fallback.
|
|
|
|
|
|
|
|
|
| |
Fill in some more bits in the new Unix library: specifically the
contents of PosixTTY and PosixDB (now System.Posix.Terminal and
System.Posix.User respectively).
We're now about 95% complete w.r.t. the old posix library. I've
identified the reminaing bits to do in System/Posix.hs.
|
|
|
|
|
|
|
|
|
| |
Make the new Posix bindings compile on Mac OS X.
Most notable, Mac OS X lacks
*) lchown
*) SIGPOLL
I don't know of a replacement of either, so they are just left out when
they are not detected by configure.
|
|
More POSIX bits... we're getting there.
|