Google
  Web www.spinics.net

Re: Integer.parseInt("+42") gives -42

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


>>>>> "David" == David Daney <ddaney@xxxxxxxxxx> writes:

David> I am not an expert in this realm, but this may be small enough
David> so that an assignment is not necessary.

Yes, I agree, particularly because there is really only one fix for
this -- delete the '+' code.  Actually, the proposed patch doesn't
seem to go far enough in that direction... AFAICT a leading '+' is not
allowed at all; there's no reason to check for it specially.

Tom


[Home]     [Linux Kernel List]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]     [Red Hat 9 Bible]     [Fedora Bible]     [Red Hat 9 Mailing List]     [Network Security Reading]

  Powered by Linux