[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#8604) back-config breaks on Solaris 8/9
Full_Name: Quanah Gibson-Mount
Version: 2.4.44
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.26)
Filing for historical purposes:
The stdio library on this version of Solaris doesn't understand %z. Change the
definition (slapd/config.c around line 58). In the not _WIN32 case, add
#ifdef __sun
#if _SIZEOF_SIZE_T_ == 4
#define Z "ll"
#define LUTIL_ATOULX lutil_atoullx
#else
#define Z "l"
#define LUTIL_ATOULX lutil_atoulx
#else
... (existing defs: LUTIL_ATOULX -> lutil_atoulx, Z -> "z"
#endif
#endif
Otherwise one will see:
54505a71 config_build_attrs: error 21 on olcDbCacheSize value #0
54505a71 config_build_entry: build "zu" failed: ""
54505a71 backend_startup_one (type=config, suffix="cn=config"): bi_db_open
failed! (-1)