Searched hist:"74 f1007fcc838501c74a633792c3f01833bf65e1" (Results 1 – 7 of 7) sorted by relevance
/freebsd/lib/libc/stdio/ |
H A D | vdprintf.c | diff 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 D | vsprintf.c | diff 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 D | vasprintf.c | diff 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 D | snprintf.c | diff 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 D | vsnprintf.c | diff 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 D | local.h | diff 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 D | vfprintf.c | diff 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
|