Re: iproute2 / match / meta bug?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Denys Fedoryshchenko
Date: Monday, July 28, 2008 - 11:25 pm

According man of stroul

RETURN VALUE
       The strtoul() function returns either the result of the conversion or, if there was a leading minus sign, the negation of the result
       of the conversion represented as an unsigned value, unless the original (non-negated) value would overflow; in the latter case, str-
       toul() returns ULONG_MAX and sets the global variable errno to ERANGE.  Precisely the same holds  for  strtoull()  (with  ULLONG_MAX
       instead of ULONG_MAX).

ULONG_MAX is NOT LONG_MAX

So it must not work i guess (2.6.26 release).
Maybe in git it is fixed, dunno, i will check it now.


On Tuesday 29 July 2008, Patrick McHardy wrote:


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
iproute2 / match / meta bug?, Denys Fedoryshchenko, (Mon Jul 28, 10:43 pm)
Re: iproute2 / match / meta bug?, Patrick McHardy, (Mon Jul 28, 10:54 pm)
Re: iproute2 / match / meta bug?, Denys Fedoryshchenko, (Mon Jul 28, 11:11 pm)
Re: iproute2 / match / meta bug?, Denys Fedoryshchenko, (Mon Jul 28, 11:18 pm)
Re: iproute2 / match / meta bug?, Patrick McHardy, (Mon Jul 28, 11:18 pm)
Re: iproute2 / match / meta bug?, Denys Fedoryshchenko, (Mon Jul 28, 11:25 pm)
Re: iproute2 / match / meta bug?, Denys Fedoryshchenko, (Mon Jul 28, 11:35 pm)
Re: iproute2 / match / meta bug?, Denys Fedoryshchenko, (Tue Jul 29, 1:16 am)