fixed a bug of not honoring precision specified with %.* in computing string length given for 's' and 'S' renamed DEV_CAPA/dev_capa to DEV_CAP/dev_capa