#50979 Ticket 50971 - fix BSD_SOURCE
Closed 3 years ago by spichugi. Opened 4 years ago by firstyear.
firstyear/389-ds-base 50971-compiler-warn  into  master

@@ -20,9 +20,9 @@ 

  # ifndef __USE_XOPEN

  #  define __USE_XOPEN /* linux */

  # endif              /* __USE_XOPEN */

- # ifndef _BSD_SOURCE

- #  define _BSD_SOURCE

- # endif              /* !defined(_BSD_SOURCE) */

+ # ifndef _DEFAULT_SOURCE

+ #  define _DEFAULT_SOURCE

+ # endif              /* !defined(_DEFAULT_SOURCE) */

  #endif

  #include <sys/types.h>

  #include <sys/socket.h>

Bug Description: BSD_SOURCE is deprecated for DEFAULT_SOURCE

Fix Description: Use DEFAULT_SOURCE instead.

https://pagure.io/389-ds-base/issue/50971

Author: William Brown william@blackhats.net.au

Review by: ???

You should also change the comment to reflect the new name, otherwise ACK

Will do, I'll merge with the updated comment. Thanks!

rebased onto 04e0be8

4 years ago

Pull-Request has been merged by firstyear

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/4032

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago
Metadata