aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/dl-execstack.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2024-05-28 10:07:47 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2024-06-04 09:04:04 -0700
commitcafef3eb21db24f2e8113b0adc12c0f15d4dec41 (patch)
tree99e57ba69fc826c2cad30f948d347d6a898d86d4 /sysdeps/unix/sysv/linux/dl-execstack.c
parent127fc56152347d73cb7c1c283e60e1cb1f15e9f9 (diff)
downloadglibc-cafef3eb21db24f2e8113b0adc12c0f15d4dec41.zip
glibc-cafef3eb21db24f2e8113b0adc12c0f15d4dec41.tar.gz
glibc-cafef3eb21db24f2e8113b0adc12c0f15d4dec41.tar.bz2
difftime can throw exceptions
difftime can signal an inexact conversion when converting to double, so it should not be marked as pure or nothrow (BZ 31808). Although we could do something more complicated, in which difftime is plain on modern platforms but const and nothrow on obsolescent platforms with 32-bit time_t, it hardly seems worth the trouble. difftime is used so rarely that it's not worth taking pains to optimize calls to it on obsolescent platforms. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-execstack.c')
0 files changed, 0 insertions, 0 deletions