sg_lib: add SG_LIB_OS_BASE_ERR; sg_write_x: continue work

git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@732 6180dd3e-e324-4e3e-922d-17de1ae2f315
15 files changed