|author||Rich Felker <email@example.com>||2014-06-21 07:44:46 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2014-06-21 07:44:46 -0400|
remove hack in syslog.h that resulted in aliasing violations
this issue affected the prioritynames and facilitynames arrays which are only provided when requested (usually by syslogd implementations) and which are presently defined as compound literals. the aliasing violation seems to have been introduced as a workaround for bad behavior by gcc's -Wwrite-strings option, but it caused compilers to completely optimize out the contents of prioritynames and facilitynames since, under many usage cases, the aliasing rules prove that the contents are never accessed.
Diffstat (limited to 'src/stat/__xstat.c')
0 files changed, 0 insertions, 0 deletions