Home
last modified time | relevance | path

Searched hist:"74 f1007fcc838501c74a633792c3f01833bf65e1" (Results 1 – 7 of 7) sorted by relevance

/freebsd/lib/libc/stdio/
H A Dvdprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dvsprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dvasprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dsnprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dvsnprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dlocal.hdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718
H A Dvfprintf.cdiff 74f1007fcc838501c74a633792c3f01833bf65e1 Fri Sep 20 18:30:30 CEST 2024 Dag-Erling Smørgrav <des@FreeBSD.org> printf(): Save errno earlier.

The manual page says %m is replaced with “the string representation of
the error code stored in the errno variable at the beginning of the
call”. However, we don't actually save `errno` until fairly late in
`__vfprintf()`. Make sure it is saved before we do anything that
might perturb `errno`.

MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D46718