Lines 23-28
Link Here
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt |
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt |
24 |
*/ |
24 |
*/ |
25 |
|
25 |
|
|
|
26 |
#ifdef HAVE_CONFIG_H |
27 |
#include <config.h> |
28 |
#endif |
29 |
|
30 |
#ifdef HAVE_LIMITS_H |
31 |
#include <limits.h> |
32 |
#endif |
33 |
|
26 |
#include <sys/types.h> |
34 |
#include <sys/types.h> |
27 |
#include <sys/stat.h> |
35 |
#include <sys/stat.h> |
28 |
|
36 |
|
Lines 99-105
nsdb_alloc_zero_component_pathname(char ***path_array)
Link Here
|
99 |
* Remove multiple sequential slashes and any trailing slashes, |
107 |
* Remove multiple sequential slashes and any trailing slashes, |
100 |
* but leave "/" by itself alone. |
108 |
* but leave "/" by itself alone. |
101 |
*/ |
109 |
*/ |
102 |
static __attribute_malloc__ char * |
110 |
static __attribute__((__malloc__)) char * |
103 |
nsdb_normalize_path(const char *pathname) |
111 |
nsdb_normalize_path(const char *pathname) |
104 |
{ |
112 |
{ |
105 |
size_t i, j, len; |
113 |
size_t i, j, len; |
106 |
- |
|
|