diff options
author | ache <ache@FreeBSD.org> | 1995-05-02 13:14:59 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-05-02 13:14:59 +0000 |
commit | 1edbc5cc863f9afe185fe0799ff12e29064b3ac4 (patch) | |
tree | d9ee89d1ad497c008be5c10d1943e5b45611138e /sys/i386/ibcs2/ibcs2_xenix.c | |
parent | aa296f63d52d0b5ae3952bdfaf27c5ff4eb12bc2 (diff) | |
download | FreeBSD-src-1edbc5cc863f9afe185fe0799ff12e29064b3ac4.zip FreeBSD-src-1edbc5cc863f9afe185fe0799ff12e29064b3ac4.tar.gz |
Back out incorrect jkh's fix and apply correct one
(POSIX_SAVED_IDS,POSIX_JOB_CONTROL)
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_xenix.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c index 0be94d7..656d033 100644 --- a/sys/i386/ibcs2/ibcs2_xenix.c +++ b/sys/i386/ibcs2/ibcs2_xenix.c @@ -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); |