From: Sam Hartman Date: Mon, 20 May 1996 06:36:02 +0000 (+0000) Subject: Fix up some annoying pre-processor typos X-Git-Tag: krb5-1.0-beta6~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=314029a31493c2c31ed449f64a3d2fdae7996ffc;p=krb5.git Fix up some annoying pre-processor typos git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8057 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 */