- The + and - modifiers to %c don't seem to work in combination, even though it seems reasonable that one might want to decode a signed value in big endian order. Separately they work fine.
(ITYM "little endian"...)
Seems working to me:
Pike v7.8 release 350 running Hilfe v3.5 (Incremental Pike Frontend)
array_sscanf("\xff\xf0","%+-2c");
(1) Result: ({ /* 1 element */ -3841 })
array_sscanf("\xff\xf0","%-+2c");
(2) Result: ({ /* 1 element */ -3841 })