Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 4 Aug 2018 20:54:08 -0400
From: "W. Michael Petullo" <mike@...n.org>
To: musl@...ts.openwall.com
Subject: strerror_r and _GNU_SOURCE

When _GNU_SOURCE is defined, strerror_r should return a char *. Musl
1.1.19 declares strerror_r as:

	int strerror_r (int, char *, size_t)

I have found that _GNU_SOURCE is defined when I build snort on OpenWrt
(OpenWrt uses musl). This causes the build to fail because snort expects
strerror_r to return a char * since _GNU_SOURCE is defined.

Is this a bug in musl?

-- 
Mike

:wq

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.