Bug 243488
Summary: | Use mozldap6 ldif_parse_line API | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Noriko Hosoi <nhosoi> | ||||||
Component: | Unknown | Assignee: | Noriko Hosoi <nhosoi> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 1.0.4 | CC: | nkinder, rmeggins | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-12-07 16:58:14 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 152373, 240316, 427409 | ||||||||
Attachments: |
|
Description
Noriko Hosoi
2007-06-08 23:59:05 UTC
Created attachment 156632 [details]
cvs diffs
Modified Files:
ldap/admin/lib/dsalib_confs.c
ldap/servers/plugins/replication/cl5_api.c
ldap/servers/plugins/replication/replutil.c
ldap/servers/slapd/entry.c
ldap/servers/slapd/fedse.c
ldap/servers/slapd/back-ldbm/import-threads.c
Deleted File:
ldap/include/ldif.h
Change description:
1) Removed ldif.h from the DS tree.
2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related
code.
Created attachment 156742 [details]
cvs commit message
Reviewed by Rich (Thank you!)
Checked in into HEAD.
$ pwd /share/dev4/ds/ds80/builds/20071129.1/earthquake_rhel4/ldapserver $ find . -name "*.c" | xargs egrep ldif_parse_line ./ldap/servers/plugins/replication/cl5_api.c: rc = ldif_parse_line(line, &type, &value, &vlen); ./ldap/servers/plugins/replication/replutil.c: rc = ldif_parse_line(line, &type, &value, &vlen); ./ldap/servers/slapd/back-ldbm/import-threads.c: if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) >= 0 ) { ./ldap/servers/slapd/entry.c: if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) < 0 ) { ./ldap/servers/slapd/entry.c: if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) < 0 ) { ./ldap/servers/slapd/fedse.c: if ( (retmalloc = ldif_parse_line(copy, &type, &value, &vlen)) < 0 ) { ./ldap/servers/snmp/main.c: ldif_parse_line(ldif_getline(&entryp), &attr, &val, &vlen); ./ldap/servers/snmp/main.c: ldif_parse_line(dse_line, &attr, &val, &vlen); $ du -a | egrep ldif.h | egrep -v back-ldif.h $ $ egrep ldif_parse_line /usr/include/mozldap6/ldif.h int ldif_parse_line( char *line, char **type, char **value, int *vlen); 1) There is no ldif.h in the ldapsearch source tree any more. 2) ldapsearch sources call ldif_parse_line in the way declared in mozldap ldif.h. 3) Brew build/Nightly build has no problem. That said, this bug is verified. |