Closed Bug 75318 Opened 24 years ago Closed 23 years ago

LDAP doesn't build on FreeBSD

Categories

(Directory Graveyard :: LDAP C SDK, defect)

x86
FreeBSD
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yancey, Assigned: dmosedale)

Details

Attachments

(3 files)

FreeBSD, like some other OS's, takes only one argument to the ctime function. The current code attempts to pass three arguments.
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__
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
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.
Status: NEW → ASSIGNED
Yancey: so have you verified that jdunn's proposed fix works? If so, shall I go ahead and check it in?
Yes, jdunn's proposed fix does indeed work. I fully believe that it is safe to check it in.
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
Status: NEW → ASSIGNED
Fix checked in.
Severity: normal → blocker
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
adding nsbeta1+ since needed for port to version 5 of the CSDK.
Keywords: nsbeta1+
Reopening for landing on ldapcsdk_branch_50.
Trying to reopen again...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Checked in to ldapcsdk_branch_50.
Status: REOPENED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: