ScanServers ();
StartDisplays ();
(void) signal (SIGHUP, RescanNotify);
-#if !defined(SYSV) || defined(hpux) || defined(_AIX) || defined (__osf__) || defined(linux)
+#if !defined(SYSV) || defined(hpux) || defined(_AIX) || defined(linux)
(void) signal (SIGCHLD, ChildNotify);
#endif
while (AnyWellKnownSockets() || AnyDisplaysLeft ())
TrimErrorFile();
-#if defined(SYSV) && !defined(hpux) && !defined(_AIX) && !defined (__osf__) && !defined(linux)
+#if defined(SYSV) && !defined(hpux) && !defined(_AIX) && !defined(linux)
WaitForChild ();
#else
WaitForSomething ();
int ChildReady = 0;
-#if !defined(SYSV) || defined(hpux) || defined(_AIX) || defined (__osf__) || defined(linux) || defined(CSRG_BASED)
+#if !defined(SYSV) || defined(hpux) || defined(_AIX) || defined(linux) || defined(CSRG_BASED)
static SIGVAL
ChildNotify( int arg )
{
if (pidFd == -1 && errno == ENOENT)
{
/*
- * HP OSF/1 will not allow an fdopen
+ * A Legacy OS wouldn't allow an fdopen
* of a file descriptor handed back by creat(2).
* The workaround is to close the created file, and
* open it Read/Write. This will be transparent to HP-UX.
+ * This code needs to be cleaned up - 05/22/18 - C
*/
pidFd = creat (pidFile, 0644);
if(pidFd != -1) {
*
*****************************************************************************/
-#if defined (_AIX) && defined (_POWER) || defined (__osf__)
+#if defined (_AIX) && defined (_POWER)
#define GETTYPATH "/usr/sbin/getty"
#elif defined(__OpenBSD__)
#define GETTYPATH "/usr/libexec/getty"