Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 201948 | Differences between
and this patch

Collapse All | Expand All

(-)nss-mdns-0.10/src/nss.c.orig (-3 / +3 lines)
Lines 177-183 Link Here
177
    return ends_with(name, ".local") || ends_with(name, ".local."); 
177
    return ends_with(name, ".local") || ends_with(name, ".local."); 
178
}
178
}
179
179
180
#ifdef HONOUR_SEARCH_DOMAINS
180
#if defined(HONOUR_SEARCH_DOMAINS) && !defined(MDNS_MINIMAL)
181
181
182
static char **alloc_domains(unsigned ndomains) {
182
static char **alloc_domains(unsigned ndomains) {
183
    char **domains;
183
    char **domains;
Lines 379-385 Link Here
379
            status = NSS_STATUS_NOTFOUND;
379
            status = NSS_STATUS_NOTFOUND;
380
    }
380
    }
381
381
382
#ifdef HONOUR_SEARCH_DOMAINS
382
#if defined(HONOUR_SEARCH_DOMAINS) && !defined(MDNS_MINIMAL)
383
    if (u.count == 0 && avahi_works && !ends_with(name, ".")) {
383
    if (u.count == 0 && avahi_works && !ends_with(name, ".")) {
384
        char **domains;
384
        char **domains;
385
385
Lines 449-455 Link Here
449
                status = NSS_STATUS_NOTFOUND;
449
                status = NSS_STATUS_NOTFOUND;
450
        }
450
        }
451
451
452
#ifdef HONOUR_SEARCH_DOMAINS
452
#if defined(HONOUR_SEARCH_DOMAINS) && !defined(HONOUR_SEARCH_DOMAINS)
453
        if (u.count == 0 && !ends_with(name, ".")) {
453
        if (u.count == 0 && !ends_with(name, ".")) {
454
            char **domains;
454
            char **domains;
455
            
455
            

Return to bug 201948