Closed
Bug 75318
Opened 24 years ago
Closed 23 years ago
LDAP doesn't build on FreeBSD
Categories
(Directory Graveyard :: LDAP C SDK, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: yancey, Assigned: dmosedale)
Details
Attachments
(3 files)
|
716 bytes,
patch
|
Details | Diff | Splinter Review | |
|
408 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.31 KB,
patch
|
Details | Diff | Splinter Review |
FreeBSD, like some other OS's, takes only one argument to the ctime function.
The current code attempts to pass three arguments.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
The previously attached patch uses ctime( c ) and the following patch uses
ctime_r( c, b ). Either will build on FreeBSD. Choose the one most
appropriate.
QA Contact: __UNKNOWN__
| Reporter | ||
Comment 3•24 years ago
|
||
Why don't you just add "|| defined(FREEBSD)" to the end of the elif
on line 282 of mozilla/directory/c-sdk/ldap/include/portable.h
| Reporter | ||
Comment 5•24 years ago
|
||
Gee, you're right! That is a much more clean fix for this. So why all the
#ifdef's in the directory/c-sdk/ldap/libraries/libldap/tmplout.c file? It seems
like those should be handled in portable.h as well.
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•24 years ago
|
||
Yancey: so have you verified that jdunn's proposed fix works? If so, shall I go
ahead and check it in?
| Reporter | ||
Comment 7•24 years ago
|
||
Yes, jdunn's proposed fix does indeed work. I fully believe that it is safe to
check it in.
| Assignee | ||
Comment 8•24 years ago
|
||
Whoops, I meant to take this bug before. I will check in the proposed change on
the LDAPCSDK_40_BRANCH shortly.
Assignee: mcs → dmose
Status: ASSIGNED → NEW
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 9•24 years ago
|
||
| Assignee | ||
Comment 10•24 years ago
|
||
Fix checked in.
Severity: normal → blocker
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•23 years ago
|
||
adding nsbeta1+ since needed for port to version 5 of the CSDK.
Keywords: nsbeta1+
| Assignee | ||
Comment 12•23 years ago
|
||
Reopening for landing on ldapcsdk_branch_50.
| Assignee | ||
Comment 13•23 years ago
|
||
Trying to reopen again...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 14•23 years ago
|
||
Checked in to ldapcsdk_branch_50.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•