From 314029a31493c2c31ed449f64a3d2fdae7996ffc Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 20 May 1996 06:36:02 +0000 Subject: [PATCH] Fix up some annoying pre-processor typos git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8057 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5util/seteuid.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/krb5util/seteuid.c b/src/lib/krb5util/seteuid.c index 1e9ea612d..a84db79ad 100644 --- a/src/lib/krb5util/seteuid.c +++ b/src/lib/krb5util/seteuid.c @@ -32,21 +32,21 @@ int krb5_seteuid( euid) uid_t euid; { - #if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEUID) +#if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEUID) return (seteuid(euid)) ; #else -# if defined(HAVE_SETRESUID) +#if defined(HAVE_SETRESUID) return (setresuid(getuid(), euid, geteuid())) ; -# else -# if defined(HAVE_SETREUID) +#else +#if defined(HAVE_SETREUID) return setreuid(geteuid(), euid); #else /*HAVE_SETREUID*/ /* You need to add a case to deal with this operating system.*/ errno = EPERM; return -1; -# endif /* HAVE_SETREUID */ -# endif /* HAVE_SETRESUID */ +#endif /* HAVE_SETREUID */ +#endif /* HAVE_SETRESUID */ #endif /* _POSIX_SAVED_IDS */ -- 2.26.2