RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 07-May-2016 16:48:51 Branch: rpm-5_4 Handle: 2016050714485100 Modified files: (Branch: rpm-5_4) rpm/rpmio bson.c Log: - fix: OS X uses XSI strerror_r() prototype. Summary: Revision Changes Path 2.4.4.19 +2 -2 rpm/rpmio/bson.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/bson.c ============================================================================ $ cvs diff -u -r2.4.4.18 -r2.4.4.19 bson.c --- rpm/rpmio/bson.c 10 Apr 2016 22:10:51 -0000 2.4.4.18 +++ rpm/rpmio/bson.c 7 May 2016 14:48:51 -0000 2.4.4.19 @@ -4293,7 +4293,7 @@ static const char *unknown_msg = N_("Unknown error"); char *ret = NULL; -#if defined(__GNUC__) && defined(_GNU_SOURCE) +#if defined(__GNUC__) && defined(_GNU_SOURCE) && !defined(__APPLE__) ret = strerror_r (err_code, buf, buflen); #elif defined(_WIN32) if (strerror_s (buf, buflen, err_code) != 0) { @@ -8320,7 +8320,7 @@ gh...@aladdin.com */ -/* $Id: bson.c,v 2.4.4.18 2016/04/10 22:10:51 jbj Exp $ */ +/* $Id: bson.c,v 2.4.4.19 2016/05/07 14:48:51 jbj Exp $ */ /* Independent implementation of MD5 (RFC 1321). @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org