Remove Unixware and openserver support

This commit is contained in:
chase
2018-05-19 19:50:35 -05:00
committed by Jon Trulson
parent beea573d17
commit 07900bd93b
375 changed files with 725 additions and 9112 deletions

View File

@@ -390,14 +390,14 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
(void) strncpy(utPtr->ut_id, utmpLine,
sizeof(utPtr->ut_id));
#else /* __AIX || __osf__ */
#if defined(linux) || defined(sun) || defined(USL)
#if defined(linux) || defined(sun)
if (c = strchr(utmpLine, '/')) {
c++;
} else {
c = utmpLine;
}
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
#else /* linux || sun || USL */
#else /* linux || sun */
error out -- missing code for utPtr->ut_id
#endif /* sun */
#endif /* __AIX || __osf__ */