diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-21 15:37:02 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-21 15:37:02 +0000 |
commit | 3107efc12a83e8ae189cc00d92baa4a93424df45 (patch) | |
tree | 38cc6fe28c74f5b7dd23b772e3fc2ff995558018 | |
parent | e37f63ffa0610021e8cd8f4fc523e405618c356d (diff) |
- (bal) Minor session.c for cygwin. mispelt 'is_winnt' variable.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20020221 | ||
2 | - (bal) Minor session.c for cygwin. mispelt 'is_winnt' variable. | ||
3 | |||
1 | 20020219 | 4 | 20020219 |
2 | - (djm) OpenBSD CVS Sync | 5 | - (djm) OpenBSD CVS Sync |
3 | - mpech@cvs.openbsd.org 2002/02/13 08:33:47 | 6 | - mpech@cvs.openbsd.org 2002/02/13 08:33:47 |
@@ -7653,4 +7656,4 @@ | |||
7653 | - Wrote replacements for strlcpy and mkdtemp | 7656 | - Wrote replacements for strlcpy and mkdtemp |
7654 | - Released 1.0pre1 | 7657 | - Released 1.0pre1 |
7655 | 7658 | ||
7656 | $Id: ChangeLog,v 1.1869 2002/02/19 21:58:19 mouring Exp $ | 7659 | $Id: ChangeLog,v 1.1870 2002/02/21 15:37:02 mouring Exp $ |
@@ -1103,7 +1103,7 @@ static void | |||
1103 | do_setusercontext(struct passwd *pw) | 1103 | do_setusercontext(struct passwd *pw) |
1104 | { | 1104 | { |
1105 | #ifdef HAVE_CYGWIN | 1105 | #ifdef HAVE_CYGWIN |
1106 | if (iswinnt) { | 1106 | if (is_winnt) { |
1107 | #else /* HAVE_CYGWIN */ | 1107 | #else /* HAVE_CYGWIN */ |
1108 | if (getuid() == 0 || geteuid() == 0) { | 1108 | if (getuid() == 0 || geteuid() == 0) { |
1109 | #endif /* HAVE_CYGWIN */ | 1109 | #endif /* HAVE_CYGWIN */ |