Re: On PPC64, the parsing of integers on the commandline is bitshifted.
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Aug 7, 2008, 21:34 UTC
- Message-ID
- <CxVxAoKmEQsrgFdHEvL0sjkgBBIVZ3Zvsl0pPSuDSfH_8xM8NOSGfw@cipher.nrlssc.navy.mil>
- In-Reply-To
- <X68iwLodMeAo1RYVJdU3iyNzAFylpDRpP1jkviJTeiOnoNs5n2qZcg@cipher.nrlssc.navy.mil>
Brandon Casey wrote:
Show 6 quoted lines
> Robin H. Johnson wrote: >> In a 64-bit userland, big-endian environment, the parser gets integers >> wrong. > > There is a fix on master. Can you try that out? > Unfortunately, looks like it did not make it into 1.5.6.5
Also, just so you know, it is test-parse-options.c that is broken, not the parsing code. So, the rest of git should be using an int with OPT_INTEGER() and should operate correctly.
-brandon