- 09 Oct, 2022 1 commit
-
-
B K authored
-
- 08 Oct, 2022 1 commit
-
-
A. Wilcox authored
Used by GraalVM Java.
-
- 06 Oct, 2022 3 commits
-
-
We'll just say we're always multi-threaded (same as glibc does in duplicate copies of itself loaded into the same process via dlmopen)
-
libstdc++ calls these directly
-
Previously, initstate_r would attempt to pack the n, i, and j values into the state array pointed to by the x member value of buf, which would cause access to an invalid region of memory when buf was uninitialized. However, packing the values into the state array was required when buf was initialized, as otherwise the values of n, i, and j would not be saved. Critically, initstate_r had no means by which to distinguish between an uninitialized and initialized buf struct. This change makes the random_r and srandom_r do the packing and unpacking of the n, i, and j values instead. This does lead to a somewhat more inefficient algorithm, but preserves compatibility in case setstate_r is passed a state array that was initialized with the normal initstate function. Signed-off-by:
George Matsumura <gm960420@ohio.edu>
-
- 26 Jun, 2022 2 commits
-
-
- 22 Jun, 2022 1 commit
-
-
Gaël PORTAY authored
This fixes a typo in commit 810f46ab that created an infinite recursive call.
-
- 25 May, 2022 2 commits
-
-
A. Wilcox authored
stdio: add __dprintf_chk See merge request adelie/gcompat!20
-
A. Wilcox authored
-
- 24 May, 2022 1 commit
-
-
Patrycja Rosa authored
-
- 02 Feb, 2022 2 commits
-
-
Zach van Rijn authored
unistd: add __close See merge request adelie/gcompat!14
-
Patrycja Rosa authored
-
- 19 Dec, 2021 2 commits
-
-
A. Wilcox authored
Prevents segfault when calling initstate_r.
-
A. Wilcox authored
wchar: add __mbrlen See merge request adelie/gcompat!13
-
- 22 Sep, 2021 1 commit
-
-
Patrycja Rosa authored
-
- 27 Jul, 2021 1 commit
-
-
A. Wilcox authored
Add reentrant random functions from LSB See merge request adelie/gcompat!11
-
- 14 Jul, 2021 1 commit
-
-
Zach van Rijn authored
Add __fdelt_warn alias See merge request adelie/gcompat!12
-
- 30 Jun, 2021 1 commit
-
-
George Matsumura authored
Add __fdelt_warn as a strong alias of __fdelt_chk, similar to how it is implemented in glibc. Signed-off-by:
George Matsumura <gm960420@ohio.edu>
-
- 25 Jun, 2021 1 commit
-
-
George Matsumura authored
This adds random_r() and associated functions, mostly adapted from musl's implementation of random(). Signed-off-by:
George Matsumura <gm960420@ohio.edu>
-
- 14 Dec, 2020 1 commit
-
-
A. Wilcox authored
-
- 16 Nov, 2020 2 commits
-
-
Now newlocale calls __newlocale with the returned glibc_locale structure directly, making it work slightly better with non-"C" locales.
-
A. Wilcox authored
* Count size of list correctly * Don't make __names const; it isn't.
-
- 27 Sep, 2020 4 commits
- 22 Aug, 2020 3 commits
- 18 Aug, 2020 1 commit
-
- 10 Aug, 2020 3 commits
-
-
A. Wilcox authored
-
A. Wilcox authored
Correct __*_finite math functions See merge request adelie/gcompat!8
-
A. Wilcox authored
Implement: __fwprintf_chk, wcstoul_l, wcstoul_l, wcstod_l See merge request adelie/gcompat!7
-
- 08 Aug, 2020 1 commit
-
-
George Matsumura authored
This corrects a mistake in the finite math functions in which it was asserted that the return values had to be infinite, instead of the intended behavior of asserting that they were not infinite. Signed-off-by:
George Matsumura <gmmatsumura01@bvsd.org>
-
- 25 Jul, 2020 5 commits
-
-
Michał Kazior authored
This is similar to strtoll_l() in a way it ignores the locale_t argument and uses the global locale settings. Signed-off-by:
Michal Kazior <kazikcz@gmail.com>
-
Michał Kazior authored
This is similar to strtoll_l() in a way it ignores the locale_t argument and uses the global locale settings. Signed-off-by:
Michal Kazior <kazikcz@gmail.com>
-
Michał Kazior authored
This is similar to strtoll_l() in a way it ignores the locale_t argument and uses the global locale settings. Signed-off-by:
Michal Kazior <kazikcz@gmail.com>
-
Michał Kazior authored
Signed-off-by:
Michal Kazior <kazikcz@gmail.com>
-
Michał Kazior authored
Signed-off-by:
Michal Kazior <kazikcz@gmail.com>
-