deviceid / diveid weirdness
Dirk Hohndel
dirk at hohndel.org
Fri Nov 22 13:33:14 UTC 2013
On Fri, 2013-11-22 at 13:32 -0800, Linus Torvalds wrote:
> On Fri, Nov 22, 2013 at 1:22 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> >
> > And even if it did... strtoul returns ULONG_MAX when things overflow...
> > that doesn't explain why we are getting 32bit LONG_MAX as result :-(
>
> Dirk, read my email again.
You mean I should actually READ the stuff you write? Man...
> I sait we *should* use strtoul.
>
> Look at the code. We don't.
Yep, I just figured that out myself.
Silly little letters...
Thanks, Linus, for pointing me in the right directions.
/D
More information about the subsurface
mailing list