Re: Solaris 10 Compilation Issues - patch included
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: Solaris 10 Compilation Issues - patch included
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: Peter Bray <pdb_ml [at] yahoo.com.au>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: Solaris 10 Compilation Issues - patch included
- Date: Mon, 14 Mar 2011 21:29:53 +0100
On Sun, 2011-03-13 at 08:08 +1100, Peter Bray wrote:
> Attached are two truss output that contain ioctl() with errors, but
> this does not happen on every run, which suppose matches the output
> above.
Thanks for the truss output.
I finally managed to get this issue fixed. I had to install Solaris
though (putting a spare disk in my workstation which took much more time
than actually finding and fixing the bug). The error was in a call to
select() with an incorrect timeout parameter (I think truss didn't catch
it because the check is probably in code that is run before the actual
system call is done). The value in microseconds could end up being too
large in some cases.
Anyway, it was a one character fix:
http://arthurdejong.org/viewvc/nss-pam-ldapd/nss-pam-ldapd/common/tio.c?r1=1384&r2=1393
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users