Based on patches by Matthias Koeppe and Thomas Baden. ok djm@
- (dtucker) [configure.ac] Don't set DISABLE_SHADOW when configuring
--with-pam. ok djm@
- (dtucker) [ssh-gss.h] Prototype change missed in sync.
+ - (dtucker) [session.c] Fix bus errors on some 64-bit Solaris configurations.
+ Based on patches by Matthias Koeppe and Thomas Baden. ok djm@
20030930
- (bal) Fix issues in openbsd-compat/realpath.c
{
char **tmpenv = NULL, *var;
u_int i, tmpenvsize = 0;
- mode_t mask;
+ u_long mask;
/*
* We don't want to copy the whole file to the child's environment,
if ((var = child_get_env(tmpenv, "UMASK")) != NULL)
if (sscanf(var, "%5lo", &mask) == 1)
- umask(mask);
+ umask((mode_t)mask);
for (i = 0; tmpenv[i] != NULL; i++)
xfree(tmpenv[i]);