enhanced the isNumber() method:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 11:23:47 +0000 (11:23 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 11:23:47 +0000 (11:23 +0000)
commit59824e5c9b22dd9c007ce8bf4ea5acb755a50dee
tree98d3d12962177d2fa4734d2f66a623cad4b79ad1
parent0d5f1561a88261415e2f3cf4f1de411d11878562
enhanced the isNumber() method:
* now, it accepts units like 'm' or 'K'; 'isNumber()' needs now a
  third parameter telling whether to interprete the number strictly or
  whether to accept such units
* an 'isNumberUnsigned()' method was created for unsigned types; an
  'util-isnumber.hc' template file was created for this purpose
* proper tests for over/underflow were implemented

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2255 94cd875c-1c1d-0410-91d2-eb244daf1a30
util-vserver/lib_internal/Makefile-files
util-vserver/lib_internal/util-isnumber.c
util-vserver/lib_internal/util-isnumber.hc [new file with mode: 0644]
util-vserver/lib_internal/util-isnumberunsigned.c [new file with mode: 0644]
util-vserver/lib_internal/util.h