eggert (Paul Eggert)
- Login: eggert
- Email: eggert@cs.ucla.edu
- Registered on: 09/06/2021
- Last sign in: 09/08/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
09/08/2021
-
03:38 PM Ruby Bug #18152: Fix theoretical bug with signals + qsort
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> How do you think about another "hopefully" comment for `bsearch`?
Yes, a comment is needed for `bsearch` since POSIX doesn't say that `bsearch` is async-signal-safe. However, that call t... -
06:24 AM Ruby Bug #18152: Fix theoretical bug with signals + qsort
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Can't `qsort_r` be considered async-signal-safe?
No. POSIX's list of async-signal-safe functions can be found here:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.h...
09/07/2021
-
12:02 AM Ruby Bug #18152 (Open): Fix theoretical bug with signals + qsort
- Ruby assumes that qsort is async-signal-safe, but POSIX does not guarantee this and it's not true of some qsort implementations, notably glibc. This is not a practical problem with glibc, since glibc qsort is async-signal-safe with small...