On 1/23/2013 8:18 PM, David Severance wrote:
It would appear this compiles cleanly on RHEL5.9
x86_64. However as I
have now been able to move on to compiling perdition itself this
warning appears:
perdition.c: In function ‘write_pid_file’:
perdition.c:1370: warning: comparison is always false due to limited
range of data type
My eyebrows went up as I doubt this is intended, pls advise.
thanks,
David
I think an unsigned comparison, changing LONG_MAX to ULONG_MAX, solves
the problem. Let me know.
thanks,
David
--
David Severance
Enterprise Unix Services
Office of Information Technology
(949) 824-7552
sev(a)uci.edu