Remove UXPDS support

This commit is contained in:
chase
2018-05-15 20:11:08 -05:00
committed by Jon Trulson
parent 0f8233dadd
commit 8a4f389634
319 changed files with 317 additions and 8776 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) || defined(__uxp__)
#if defined(linux) || defined(sun) || defined(USL)
if (c = strchr(utmpLine, '/')) {
c++;
} else {
c = utmpLine;
}
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
#else /* linux || sun || USL || __uxp__ */
#else /* linux || sun || USL */
error out -- missing code for utPtr->ut_id
#endif /* sun */
#endif /* __AIX || __osf__ */