Commit graph

5 commits

Author SHA1 Message Date
snow flurry b4596781ea mksh/misc.h: hack for bsd_signal()
For some reason, I wasn't able to get bsd_signal to be exposed by
signal.h, despite using _XOPEN_SOURCE=600 and _GNU_SOURCE/-std=gnu++98.

This hack is close enough. From the man page for bsd_signal(3):

   On modern Linux systems, bsd_signal() and signal(2) are equivalent.
   But on older systems, signal(2) provided unreliable signal semantics;
   see signal(2) for details.
2023-02-27 22:41:28 -08:00
Georg Sauthoff d7687df5f0 remove getwd() declaration because
- it is unused
- LEGACY in POSIX.2001, not available in POSIX.2008
- even available via `unistd.h` on Solaris 10
2016-08-28 23:04:52 +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