mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

bd07b27 Ticket #48919 - Compiler warnings while building 389-ds-base on RHEL7

Authored and Committed by nhosoi 7 years ago
    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)
    
        
file modified
+1 -1
file modified
+0 -2