Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.88 -> 1.89
Log Message:
ITS#5408 part 2 - filesystem I/O, file error handling:
- Start moving file handling near the top - move_file(), ldif_tempname().
- Rename get_entry_for_fd() -> ldif_read_entry() and move open() into it.
Rewrite slurp_file() as ldif_read_file(). Just stat() if output param==NULL.
- Rewrite ldif_write_entry(). Add LDAP_DEBUG_TRACE output.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.87 -> 1.88
Log Message:
ITS#5408 part 1 - error handling, debug output, add error texts (rs->sr_text).
- Reset rs->sr_text on success in apply_modify_to_entry(), not in its callers.
- Fix error test from ldif_write_entry() in ldif_move_entry().
- Start changing LDAP_UNWILLING_TO_PERFORM -> LDAP_OTHER for internal errors.
- Pass around LDAP result codes instead of errno.
- Rename spew_entry() -> ldif_write_entry(), move entry2str_mutex lock into it.
- Some other preparation for upcoming changes.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.