Hello, All.

Currently isc_portable_integer() incorrectly handle numbers in range from MIN_SLONG to -1 as shown by following test application output.

0 = 0 (length 4)
1 = 1 (length 4)
-1 = 4294967295 (length 4)
127 = 127 (length 4)
128 = 128 (length 4)
-128 = 4294967168 (length 4)
2147483647 = 2147483647 (length 4)
-2147483648 = 2147483648 (length 4)
2147483648 = 2147483648 (length 8)
-2147483649 = -2147483649 (length 8)

  Should I fix it and open PR or just register ticket in tracker?

--
  WBR, SD.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to