Georg Sauthoff
ee5bee4f2e
only include libbsd header if libbsd is installed
2016-11-15 21:43:45 +01:00
Georg Sauthoff
3c28143a75
use closefrom() where available
...
e.g. on Linux via libbsd - or on BSDs where the symbol exists
2016-08-26 22:25:48 +02:00
Georg Sauthoff
1888f89375
simplify Solaris CPP test
2016-08-23 20:26:31 +02:00
Georg Sauthoff
43a5295e69
fix Linux compile issues
...
- include stubs for Solaris specific functionality
- include some missing standard headers
- guard Solaris specific constructs with preprocessor conditionals
- fix pointer-to-int-cast undefined behavior
2016-08-21 23:34:14 +02:00
Georg Sauthoff
6804ba69d6
import Sun's dmake from illumos
...
Source:
svn export https://github.com/illumos/illumos-gate/trunk/usr/src/cmd/make/
Yes, github also has a Subversion compatible interface - which seems to
be useful when one is only interested in a set of files.
The Github Subversion server printed: Exported revision 15816.
This corresponds to:
67c3092ccd/usr/src/cmd/make
2016-08-21 23:34:14 +02:00