From: Rocky Bernstein Date: 2009-01-29T22:57:27+09:00 Subject: [ruby-core:21668] Re: [Bug #1068] Ruby Cannot Handle Some UIDs --0015175770b2df301304619f80b9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Jan 29, 2009 at 8:33 AM, James Gray wrote: > On Jan 29, 2009, at 3:43 AM, Urabe Shyouhei wrote: > > Ondrej Bilka wrote: >> >>> On Thu, Jan 29, 2009 at 08:53:38AM +0100, Nobuyoshi Nakada wrote: >>> >>>> Hi, >>>> >>>> At Thu, 29 Jan 2009 01:23:48 +0900, >>>> Ondrej Bilka wrote in [ruby-core:21642]: >>>> >>>>> Any reason why not handle UID and GID as signed? >>>>> >>>> Because they are defined as unsigned on that platform. >>>> >>> This can be ignored. It would only display incrorectly UIDs > 2000000000 >>> >> >> Out of curiousity, on what basis you can believe that display (and ignore >> your >> header instead)? I'd wather ignore that display and believe what header >> says if I had such OS. >> > > Well, the OS is using negative UID's. I am not sure one can make that assertion. It could be another OS which uses a signed uid is reporting it (e.g. via NFS) to one which uses unsigned uids. That's just a fact. If we ignore that, then we know we are broken and that > doesn't seem good. > > James Edward Gray II > > --0015175770b2df301304619f80b9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Jan 29, 2009 at 8:33 AM, James G= ray <jame= s@grayproductions.net> wrote:
On Jan 29, 2009, at 3:43 AM, Urabe Shyouhei wrote:

Ondrej Bilka wrote:
On Thu, Jan 29, 2009 at 08:53:38AM +0100, Nobuyoshi Nakada wrote:
Hi,

At Thu, 29 Jan 2009 01:23:48 +0900,
Ondrej Bilka wrote in [ruby-core:21642]:
Any reason why not handle UID and GID as signed?
Because they are defined as unsigned on that platform.
This can be ignored. It would only display incrorectly UIDs > 2000000000=

Out of curiousity, on what basis you can believe that display (and ignore y= our
header instead)?  I'd wather ignore that display and believe what = header says if I had such OS.

Well, the OS is using negative UID's.

I am not su= re one can make that assertion. It could be another OS which uses a signed = uid  is reporting it (e.g. via NFS) to one which uses unsigned uids. <= br>
 T= hat's just a fact.  If we ignore that, then we know we are broken = and that doesn't seem good.

James Edward Gray II


--0015175770b2df301304619f80b9--