f6a71ab5f06642727d5004b9a745a1b8e0393d78 |
|
15-Jul-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
Use NSCD path in execl()
man execl says:
The first argument, by convention, should point to the filename
associated with the file being executed.
We used just 'nscd' instead.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
b3007e32fa5d6b722f3aaaf9fe7593103cb443c3 |
|
26-May-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Fix order of header files.
The older version of glibc and different implementations of libs
requires feature macros for enabling function getline.
getline(), getdelim():
Since glibc 2.10:
_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700
Before glibc 2.10:
_GNU_SOURCE
All feature macros are in header file config.h and are detected by configure
script. The header file config.h was included after few other header files.
The problem is that header files stdio.h is included just once and
is included from many external header files. We need to include config.h
before any other header file to prevent problems.
src/util/nscd.c: In function ‘sss_nscd_parse_conf’:
src/util/nscd.c:150: error: implicit declaration of function ‘getline’
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
55d1a4662d65b478b4bd398a4abfb7f102d52f0b |
|
10-Jun-2013 |
Ondrej Kos <okos@redhat.com> |
Don't test for NULL in nscd config check
https://fedorahosted.org/sssd/ticket/1971
Coverity IDs: 11851, 11852, 11853
The NULL check on "entry" "service" and "enable" line string parts is
not necessary and triggers warnings in coverity scans. |