http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510
------- Additional Comments From [EMAIL PROTECTED] 2007-06-14 21:13 -------
More digging: The underlying variables in the C library are unsigned ints. So
getpwnam returns what is there which looks like 4294967294 even though Apple
puts a -2 in /etc/passwd. Assignments to $< and $> are fine with either
4294967294 or -2, doing the same thing in either case. It is only assignments to
$( and $) that flake out if the number is bigger than the maximum positive 32
bit signed int.
However, POSIX::setgid() works fine to set both the real and effective gid with
one call and it accepts 4294967294.
So I suggest that we replace
$) = "$ugid $ugid"; # effective gid
$( = $ugid; # real gid
with
setgid($ugid);
I'm not expert in this stuff... Does anyone see any problem with using
POSIX::setgid here on other platforms?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.