The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
bd07b27Ticket #48919 - Compiler warnings while building 389-ds-base on RHEL7
Ticket #48919 - Compiler warnings while building 389-ds-base on RHEL7
Description: Fixing additional complier warnings.
1. ldap/servers/slapd/attrsyntax.c
attr_syntax_force_to_delete(struct asyntaxinfo *asip, void *arg)
This function does not care the attr_syntax_enum_flaginfo.
2. ldap/servers/slapd/detach.c
Let detach use the rc which must be 0 (success).
3. ldap/systools/idsktune.c
Removing #define _GNU_SOURCE from idsktune.c.
The macro is defined in config.h generated by configure.
$ egrep _GNU_SOURCE config.h
#define _GNU_SOURCE 1
https://fedorahosted.org/389/ticket/48919
Reviewed by wibrown@redhat.com (Thanks, William!)
(cherry picked from commit 7c9853e07a85db3b46cd1eb6eacdacf3f17c39a0)