includedir.c (xinetd-2.3.15) | : | includedir.c (xinetd-2.3.15.4.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
#include <string.h> | #include <string.h> | |||
#include <errno.h> | #include <errno.h> | |||
#include "pset.h" | #include "pset.h" | |||
#include "str.h" | #include "str.h" | |||
#include "includedir.h" | #include "includedir.h" | |||
#include "msg.h" | #include "msg.h" | |||
#include "parse.h" | #include "parse.h" | |||
#include "sio.h" | #include "sio.h" | |||
#if !defined(NAME_MAX) | #ifndef NAME_MAX | |||
#ifdef FILENAME_MAX | ||||
#define NAME_MAX FILENAME_MAX | ||||
#else | ||||
#define NAME_MAX 256 | #define NAME_MAX 256 | |||
#endif | ||||
#endif | #endif | |||
static int compfunc( const void *_a, const void *_b ) | static int compfunc( const void *_a, const void *_b ) | |||
{ | { | |||
const char * const *a = (const char * const *)_a; | const char * const *a = (const char * const *)_a; | |||
const char * const *b = (const char * const *)_b; | const char * const *b = (const char * const *)_b; | |||
if( a == NULL || a[0] == NULL ) | if( a == NULL || a[0] == NULL ) | |||
return -1; | return -1; | |||
if( b == NULL || b[0] == NULL ) | if( b == NULL || b[0] == NULL ) | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added |