Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

solaris asctime_r vs POSIX #858

Closed
rurban opened this Issue · 0 comments

1 participant

@rurban
Collaborator

With _POSIX_PTHREAD_SEMANTICS or _POSIX_C_SOURCE defined
solaris cc uses the POSIX API for asctime_r, i.e. two args, not three.

In practice it is recommended not to use a buffer-overflow sensitive asctime at all, rather strftime.
gnulib disabled it already. wrong years can lead to overflows

Work in branch rurban/asctime_r-gh858

@rurban rurban was assigned
@rurban rurban closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.