| 338bacf8 | 18-May-2019 |
Satish Balay <balay@mcs.anl.gov> |
Revert "PetscMkdtemp: remove duplicate copies"
This reverts commit 5896fb9e39e84ae2eb743f82d9026350ea94629a.
_mktemp_s takes a template as input, if it fails - we need to copy the template again
S
Revert "PetscMkdtemp: remove duplicate copies"
This reverts commit 5896fb9e39e84ae2eb743f82d9026350ea94629a.
_mktemp_s takes a template as input, if it fails - we need to copy the template again
Suggested-by: "Zhang, Hong" <hongzhang@anl.gov>
show more ...
|
| 7b9a2d1b | 25-Apr-2018 |
Satish Balay <balay@mcs.anl.gov> |
vsnprintf: remove code related to PETSC_HAVE__VSNPRINTF and PETSC_HAVE_VSNPRINTF_CHAR
PETSC_HAVE_VSNPRINTF_CHAR was required for early versions of gcc on freebsd - so we don't need it anymore Ref: 0
vsnprintf: remove code related to PETSC_HAVE__VSNPRINTF and PETSC_HAVE_VSNPRINTF_CHAR
PETSC_HAVE_VSNPRINTF_CHAR was required for early versions of gcc on freebsd - so we don't need it anymore Ref: 0ceca5afcd5371eb8b3d8b224ec9ecc5c36a0e97
vsnprintf() appears as far back as VisualStudio 2008 [and we've dropped support for VC6 compilers] so don't need _vsnprintf() anymore
_vsnprintf() returns -1 'if there is not room for the entire string' and incompatible with current vsnprintf()
This change fixes the following breakage on windows
not ok diff-sys_tests-ex37_1
show more ...
|