Back out incorrect jkh's fix and apply correct one

(POSIX_SAVED_IDS,POSIX_JOB_CONTROL)
This commit is contained in:
Andrey A. Chernov 1995-05-02 13:14:59 +00:00
parent 72574b4219
commit c5e15878bd

View File

@ -260,14 +260,18 @@ ibcs2_cxenix(struct proc *p, void *args, int *retval)
*retval = (OPEN_MAX);
break;
case 5: /* _SC_JOB_CONTROL */
#ifdef _POSIX_JOB_CONTORL
*retval = _POSIX_JOB_CONTORL;
#ifdef _POSIX_JOB_CONTROL
*retval = (1);
#else
*retval = (0);
*retval = (-1);
#endif
break;
case 6: /* _SC_SAVED_IDS */
*retval = (0);
#ifdef _POSIX_SAVED_IDS
*retval = (1);
#else
*retval = (-1);
#endif
break;
case 7: /* _SC_VERSION */
*retval = (_POSIX_VERSION);