summaryrefslogtreecommitdiff
path: root/cache
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-02-08 02:19:41 +0100
committerHaru <haru@dotalux.com>2014-02-08 02:33:49 +0100
commit1cf7c1ec251d6899707b0eced3bc75da2e212557 (patch)
tree54008176b1b0fca8affc1e01b1fac7b98e67df95 /cache
parente7853fa6ed991fdd7bcb4b2c842761742ae3c912 (diff)
downloadhercules-1cf7c1ec251d6899707b0eced3bc75da2e212557.tar.gz
hercules-1cf7c1ec251d6899707b0eced3bc75da2e212557.tar.bz2
hercules-1cf7c1ec251d6899707b0eced3bc75da2e212557.tar.xz
hercules-1cf7c1ec251d6899707b0eced3bc75da2e212557.zip
Improvements on the script commands sscanf, axtoi. Added strtol.
- Added script command strtol (conforming to the ISO C90 function) - Modified script command axtoi to internally use strtol instead of an unnecessary own implementation. - Fixed sscanf behavior to conform to the C specifications in case the input string is empty. It now correctly returns -1, or 0 if the format string is also empty. Fixes bugreport:8009, thanks to AnnieRuru - http://hercules.ws/board/tracker/issue-8009-sscanf-should-return-1-if-the-string-field-is-an-empty-string/ Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'cache')
0 files changed, 0 insertions, 0 deletions