fix assumption that errno is cleared on successful system call #5137
fix assumption that errno is cleared on successful system call #5137

htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,htcondor/htcondor,neurodebian/htcondor,htcondor/htcondor,htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,neurodebian/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,htcondor/htcondor,neurodebian/htcondor,htcondor/htcondor